Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Issue 1134793006: [Sync] WriteNode::SetTitle doesn't update bookmark title when it is empty string. (Closed)

Created:
5 years, 7 months ago by pavely
Modified:
5 years, 7 months ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -8 lines) Patch
M sync/internal_api/sync_manager_impl_unittest.cc View 1 1 chunk +29 lines, -0 lines 0 comments Download
M sync/internal_api/write_node.cc View 1 2 2 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
pavely
5 years, 7 months ago (2015-05-15 18:58:01 UTC) #1
Nicolas Zea
https://codereview.chromium.org/1134793006/diff/20001/sync/internal_api/write_node.cc File sync/internal_api/write_node.cc (right): https://codereview.chromium.org/1134793006/diff/20001/sync/internal_api/write_node.cc#newcode80 sync/internal_api/write_node.cc:80: bool bookmark_title_updated = false; Does it make sense to, ...
5 years, 7 months ago (2015-05-15 20:15:18 UTC) #2
pavely
https://codereview.chromium.org/1134793006/diff/20001/sync/internal_api/write_node.cc File sync/internal_api/write_node.cc (right): https://codereview.chromium.org/1134793006/diff/20001/sync/internal_api/write_node.cc#newcode80 sync/internal_api/write_node.cc:80: bool bookmark_title_updated = false; On 2015/05/15 20:15:17, Nicolas Zea ...
5 years, 7 months ago (2015-05-15 21:45:29 UTC) #3
Nicolas Zea
lgtm
5 years, 7 months ago (2015-05-15 22:10:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134793006/40001
5 years, 7 months ago (2015-05-15 22:15:54 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/23729)
5 years, 7 months ago (2015-05-16 03:45:46 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1134793006/40001
5 years, 7 months ago (2015-05-18 18:45:24 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-18 21:01:51 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 22:43:25 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b74e4a779fbcac72d7fd0654f1e7218642cdef29
Cr-Commit-Position: refs/heads/master@{#330420}

Powered by Google App Engine
This is Rietveld 408576698