[Sync::USS] Fix outgoing bookmarks names on modern clients

Legacy clients expect non-empty "non_unique_name" by mangling the
bookmark titles (e.g. append a blank space to empty titles) before
committing them.

This CL is adding the corresponding mangling of bookmarks titles before
committing bookmarks from modern client for backward compatibility.

Bug: 930124
Change-Id: I4ddd8c5b7ff6867ebca9dab908aa28230f6d4649
Reviewed-on: https://chromium-review.googlesource.com/c/1461124
Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org>
Commit-Queue: Mikel Astiz <mastiz@chromium.org>
Auto-Submit: Mohamed Amir Yosef <mamir@chromium.org>
Reviewed-by: Mikel Astiz <mastiz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630424}
1 file changed