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

Issue 9570055: [Sync] Add support for associating a new Synced Bookmarks node. (Closed)

Created:
8 years, 9 months ago by Nicolas Zea
Modified:
8 years, 9 months ago
CC:
chromium-reviews, ncarter (slow), akalin, Raghu Simha, cbentzel+watch_chromium.org, pam+watch_chromium.org, darin-cc_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

[Sync] Add support for associating a new Synced Bookmarks node. Previously we would result in an unrecoverable error when the server sends us a newly created Synced Bookmarks node. We now properly detect and associate it, allowing us to also associate new bookmarks created under the Synced Bookmarks folder. In addition, we soften our conditions for unrecoverable errors. A bookmark that cannot be added is ignored, instead of triggering an error. There are very few of these, and are likely triggered by a crash during initial association. BUG=108978 TEST=sync_integration_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=127101

Patch Set 1 #

Patch Set 2 : Caps #

Total comments: 2

Patch Set 3 : Address comments, rebase #

Patch Set 4 : Stray character #

Total comments: 2

Patch Set 5 : Add python test #

Total comments: 8

Patch Set 6 : Address python comments #

Total comments: 2

Patch Set 7 : Rebase, address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+167 lines, -26 lines) Patch
M chrome/browser/sync/glue/bookmark_change_processor.cc View 1 2 3 2 chunks +21 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/bookmark_model_associator.cc View 1 2 3 4 5 6 1 chunk +9 lines, -7 lines 0 comments Download
M chrome/browser/sync/test/integration/bookmarks_helper.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/bookmarks_helper.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/sync_test.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/sync/test/integration/two_client_bookmarks_sync_test.cc View 1 2 3 4 5 6 2 chunks +26 lines, -0 lines 0 comments Download
M net/tools/testserver/chromiumsync.py View 1 2 3 4 5 6 6 chunks +33 lines, -6 lines 0 comments Download
M net/tools/testserver/chromiumsync_test.py View 1 2 3 4 5 6 4 chunks +43 lines, -4 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 4 5 2 chunks +17 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Nicolas Zea
Raghu for tests, Tim for bookmark logic.
8 years, 9 months ago (2012-03-02 01:09:41 UTC) #1
Raghu Simha
Test code LGTM. http://codereview.chromium.org/9570055/diff/2001/chrome/browser/sync/test/integration/bookmarks_helper.h File chrome/browser/sync/test/integration/bookmarks_helper.h (right): http://codereview.chromium.org/9570055/diff/2001/chrome/browser/sync/test/integration/bookmarks_helper.h#newcode31 chrome/browser/sync/test/integration/bookmarks_helper.h:31: nit: add a brief comment here.
8 years, 9 months ago (2012-03-02 04:24:29 UTC) #2
Nicolas Zea
https://chromiumcodereview.appspot.com/9570055/diff/2001/chrome/browser/sync/test/integration/bookmarks_helper.h File chrome/browser/sync/test/integration/bookmarks_helper.h (right): https://chromiumcodereview.appspot.com/9570055/diff/2001/chrome/browser/sync/test/integration/bookmarks_helper.h#newcode31 chrome/browser/sync/test/integration/bookmarks_helper.h:31: On 2012/03/02 04:24:29, rsimha wrote: > nit: add a ...
8 years, 9 months ago (2012-03-02 22:35:14 UTC) #3
Nicolas Zea
+Nick for python changes
8 years, 9 months ago (2012-03-02 22:35:39 UTC) #4
tim (not reviewing)
LGTM http://codereview.chromium.org/9570055/diff/12002/net/tools/testserver/chromiumsync.py File net/tools/testserver/chromiumsync.py (right): http://codereview.chromium.org/9570055/diff/12002/net/tools/testserver/chromiumsync.py#newcode927 net/tools/testserver/chromiumsync.py:927: def TriggerCreateSyncedBookmarks(self): Could add a chromiumsync_test.py test for ...
8 years, 9 months ago (2012-03-05 23:28:18 UTC) #5
Nicolas Zea
ping Nick? https://chromiumcodereview.appspot.com/9570055/diff/12002/net/tools/testserver/chromiumsync.py File net/tools/testserver/chromiumsync.py (right): https://chromiumcodereview.appspot.com/9570055/diff/12002/net/tools/testserver/chromiumsync.py#newcode927 net/tools/testserver/chromiumsync.py:927: def TriggerCreateSyncedBookmarks(self): On 2012/03/05 23:28:19, timsteele wrote: ...
8 years, 9 months ago (2012-03-06 20:42:32 UTC) #6
ncarter (slow)
http://codereview.chromium.org/9570055/diff/22023/net/tools/testserver/chromiumsync.py File net/tools/testserver/chromiumsync.py (right): http://codereview.chromium.org/9570055/diff/22023/net/tools/testserver/chromiumsync.py#newcode930 net/tools/testserver/chromiumsync.py:930: Clients will then received the Synced Bookmarks folder on ...
8 years, 9 months ago (2012-03-07 22:05:03 UTC) #7
Nicolas Zea
Comments addressed. PTAL http://codereview.chromium.org/9570055/diff/22023/net/tools/testserver/chromiumsync.py File net/tools/testserver/chromiumsync.py (right): http://codereview.chromium.org/9570055/diff/22023/net/tools/testserver/chromiumsync.py#newcode930 net/tools/testserver/chromiumsync.py:930: Clients will then received the Synced ...
8 years, 9 months ago (2012-03-15 21:22:49 UTC) #8
ncarter (slow)
lgtm LGTM with nits. http://codereview.chromium.org/9570055/diff/31003/net/tools/testserver/chromiumsync.py File net/tools/testserver/chromiumsync.py (right): http://codereview.chromium.org/9570055/diff/31003/net/tools/testserver/chromiumsync.py#newcode945 net/tools/testserver/chromiumsync.py:945: spec.tag == "synced_bookmarks").next() This is ...
8 years, 9 months ago (2012-03-15 22:44:52 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/9570055/28002
8 years, 9 months ago (2012-03-15 23:09:58 UTC) #10
commit-bot: I haz the power
Commit queue patch verification failed without an error message. Something went wrong, probably a crash, ...
8 years, 9 months ago (2012-03-15 23:58:38 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/9570055/28002
8 years, 9 months ago (2012-03-16 00:32:14 UTC) #12
commit-bot: I haz the power
8 years, 9 months ago (2012-03-16 04:24:19 UTC) #13
Change committed as 127101

Powered by Google App Engine
This is Rietveld 408576698