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

Issue 1849563005: [Sync] Add cookie jar mismatch logging (Closed)

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

Description

[Sync] Add cookie jar mismatch logging Adds a listener to gaia cookie jar state, which plumbs that down into the sync context. Cookie jar mismatch state is then sent up on every commit message, which is then used server-side to ensure improve privacy. BUG=599593 Committed: https://crrev.com/3dfdc8754310e28ab5380cbdff39dc08dbc5fd4e Cr-Commit-Position: refs/heads/master@{#385228}

Patch Set 1 #

Patch Set 2 : Add integration test #

Total comments: 14

Patch Set 3 : Address comments and fix unit tests #

Patch Set 4 : Really fix #

Patch Set 5 : Fix tests again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -3 lines) Patch
M chrome/browser/sync/profile_sync_service_factory.cc View 3 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc View 1 2 chunks +38 lines, -0 lines 0 comments Download
M components/browser_sync/browser/profile_sync_service.h View 1 2 6 chunks +14 lines, -1 line 0 comments Download
M components/browser_sync/browser/profile_sync_service.cc View 1 2 3 4 6 chunks +36 lines, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_core.h View 1 chunk +3 lines, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_core.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_impl.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_mock.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_mock.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M sync/engine/commit.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/engine/commit.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M sync/engine/commit_util.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/engine/commit_util.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M sync/engine/syncer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/public/sync_manager.h View 1 chunk +5 lines, -0 lines 0 comments Download
M sync/internal_api/public/test/fake_sync_manager.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/sync_manager_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M sync/internal_api/test/fake_sync_manager.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 chunk +1 line, -0 lines 0 comments Download
M sync/protocol/sync.proto View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M sync/sessions/sync_session_context.h View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M sync/sessions/sync_session_context.cc View 1 chunk +2 lines, -1 line 0 comments Download
M sync/test/fake_server/fake_server.h View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M sync/test/fake_server/fake_server.cc View 1 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
Nicolas Zea
+Max, PTAL
4 years, 8 months ago (2016-04-01 21:12:44 UTC) #2
Nicolas Zea
+Kevin FYI
4 years, 8 months ago (2016-04-01 21:13:02 UTC) #3
maxbogue
lgtm w/ nits! Could you update either the commit message or the bug with a ...
4 years, 8 months ago (2016-04-01 22:30:48 UTC) #4
Nicolas Zea
Thanks! https://codereview.chromium.org/1849563005/diff/20001/components/browser_sync/browser/profile_sync_service.cc File components/browser_sync/browser/profile_sync_service.cc (right): https://codereview.chromium.org/1849563005/diff/20001/components/browser_sync/browser/profile_sync_service.cc#newcode2119 components/browser_sync/browser/profile_sync_service.cc:2119: for (auto& iter : accounts) { On 2016/04/01 ...
4 years, 8 months ago (2016-04-04 19:57:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849563005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849563005/60001
4 years, 8 months ago (2016-04-04 19:58:11 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/190773)
4 years, 8 months ago (2016-04-04 20:44:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849563005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849563005/80001
4 years, 8 months ago (2016-04-05 00:56:06 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_TIMED_OUT, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/48227)
4 years, 8 months ago (2016-04-05 07:05:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849563005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849563005/80001
4 years, 8 months ago (2016-04-05 17:26:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1849563005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1849563005/80001
4 years, 8 months ago (2016-04-05 17:48:00 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-05 18:21:21 UTC) #24
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 18:22:49 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3dfdc8754310e28ab5380cbdff39dc08dbc5fd4e
Cr-Commit-Position: refs/heads/master@{#385228}

Powered by Google App Engine
This is Rietveld 408576698