Description[Sync] WriteNode::SetTitle doesn't update bookmark title when it is empty string.
WriteNode::SetTitle copies title into bookmark specifics title for
bookmark entries. When title for newly created bookmark is empty
WriteNode::SetTitle exits early and doesn't update
BookmarkSpecifics.title.
This change ensures that title is updated.
BUG=486407
R=zea@chromium.org
TEST=
- Import bookmarks file attached in the bug. There should be 2 bookmarks with empty titles.
- Create new client for the same account and make sure that both bookmarks get synced.
Committed: https://crrev.com/b74e4a779fbcac72d7fd0654f1e7218642cdef29
Cr-Commit-Position: refs/heads/master@{#330420}
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 2
Patch Set 3 : Small change after Nicolas' feedback. #
Messages
Total messages: 12 (3 generated)
|