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

Issue 12256033: Separate invalidator and sync client ID (part 1/2) (Closed)

Created:
7 years, 10 months ago by rlarocque
Modified:
7 years, 9 months ago
CC:
chromium-reviews, Raghu Simha, haitaol1, akalin, tim (not reviewing), dcheng
Visibility:
Public.

Description

Separate invalidator and sync client ID (part 1/2) This change implements support for setting the sync client ID and invalidator client ID separately. The two IDs are managed separately and both of them are sent up to the server. This change includes some additional changes to support the transition, such as a new field in the about:sync UI. At this point, the IDs are not different. Both are initialized from the same source: the sync database. The work to store and manage the invalidator's ID separate from sync was begun in r180907 and will be finished in a separate commit. We will not be able to complete that work until the server supports separate IDs. BUG=124142 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185721

Patch Set 1 #

Total comments: 6

Patch Set 2 : Review fixes #

Patch Set 3 : Review fixes #

Total comments: 4

Patch Set 4 : Rebase #

Patch Set 5 : Update comment #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -30 lines) Patch
M chrome/browser/sync/about_sync_util.cc View 1 2 3 4 5 2 chunks +6 lines, -3 lines 0 comments Download
M sync/engine/all_status.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M sync/engine/all_status.cc View 1 2 3 4 5 1 chunk +8 lines, -2 lines 0 comments Download
M sync/engine/sync_scheduler_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M sync/engine/sync_scheduler_whitebox_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M sync/engine/sync_session_job_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M sync/engine/syncer_proto_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M sync/engine/syncer_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M sync/internal_api/internal_components_factory_impl.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M sync/internal_api/public/engine/sync_status.h View 1 2 3 4 5 1 chunk +5 lines, -2 lines 0 comments Download
M sync/internal_api/public/internal_components_factory.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M sync/internal_api/public/internal_components_factory_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M sync/internal_api/public/test/test_internal_components_factory.h View 1 chunk +2 lines, -1 line 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 2 3 2 chunks +13 lines, -6 lines 0 comments Download
M sync/internal_api/test/test_internal_components_factory.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M sync/protocol/sync.proto View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M sync/sessions/sync_session_context.h View 1 2 3 4 3 chunks +12 lines, -1 line 0 comments Download
M sync/sessions/sync_session_context.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M sync/sessions/sync_session_unittest.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M sync/test/engine/syncer_command_test.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
rlarocque
This is a set of client-side changes that will make it possible to use different ...
7 years, 10 months ago (2013-02-14 21:41:00 UTC) #1
rlarocque
On 2013/02/14 21:41:00, rlarocque wrote: > This is a set of client-side changes that will ...
7 years, 10 months ago (2013-02-20 22:41:36 UTC) #2
Nicolas Zea
Couple nits and a question https://codereview.chromium.org/12256033/diff/1/sync/engine/all_status.h File sync/engine/all_status.h (right): https://codereview.chromium.org/12256033/diff/1/sync/engine/all_status.h#newcode62 sync/engine/all_status.h:62: void SetInvalidatorClientId(const std::string& invalidator_client_id); ...
7 years, 10 months ago (2013-02-20 23:23:15 UTC) #3
rlarocque
https://codereview.chromium.org/12256033/diff/1/sync/engine/all_status.h File sync/engine/all_status.h (right): https://codereview.chromium.org/12256033/diff/1/sync/engine/all_status.h#newcode62 sync/engine/all_status.h:62: void SetInvalidatorClientId(const std::string& invalidator_client_id); On 2013/02/20 23:23:15, Nicolas Zea ...
7 years, 10 months ago (2013-02-20 23:53:32 UTC) #4
Nicolas Zea
LGTM if server folk like it https://codereview.chromium.org/12256033/diff/16001/sync/sessions/sync_session_context.h File sync/sessions/sync_session_context.h (right): https://codereview.chromium.org/12256033/diff/16001/sync/sessions/sync_session_context.h#newcode186 sync/sessions/sync_session_context.h:186: // This is ...
7 years, 10 months ago (2013-02-20 23:56:40 UTC) #5
rlarocque
https://codereview.chromium.org/12256033/diff/16001/sync/sessions/sync_session_context.h File sync/sessions/sync_session_context.h (right): https://codereview.chromium.org/12256033/diff/16001/sync/sessions/sync_session_context.h#newcode186 sync/sessions/sync_session_context.h:186: // This is the identifier the invalidations client used ...
7 years, 10 months ago (2013-02-21 00:06:25 UTC) #6
Nicolas Zea
https://codereview.chromium.org/12256033/diff/16001/sync/sessions/sync_session_context.h File sync/sessions/sync_session_context.h (right): https://codereview.chromium.org/12256033/diff/16001/sync/sessions/sync_session_context.h#newcode186 sync/sessions/sync_session_context.h:186: // This is the identifier the invalidations client used ...
7 years, 10 months ago (2013-02-21 00:16:58 UTC) #7
tim (not reviewing)
https://codereview.chromium.org/12256033/diff/16001/sync/sessions/sync_session_context.h File sync/sessions/sync_session_context.h (right): https://codereview.chromium.org/12256033/diff/16001/sync/sessions/sync_session_context.h#newcode187 sync/sessions/sync_session_context.h:187: // the invalidation server. We need to provide this ...
7 years, 10 months ago (2013-02-21 00:20:55 UTC) #8
rlarocque
Comment updated.
7 years, 10 months ago (2013-02-21 00:31:57 UTC) #9
rlarocque
On 2013/02/21 00:31:57, rlarocque wrote: > Comment updated. Ping? I thought I had committed this, ...
7 years, 9 months ago (2013-02-28 20:57:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/12256033/25001
7 years, 9 months ago (2013-03-01 22:16:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/12256033/25001
7 years, 9 months ago (2013-03-02 16:04:55 UTC) #12
commit-bot: I haz the power
7 years, 9 months ago (2013-03-02 17:32:33 UTC) #13
Message was sent while issue was closed.
Change committed as 185721

Powered by Google App Engine
This is Rietveld 408576698