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

Issue 1991973002: [Sync] Add histograms for cookie jar state on Sessions commit (Closed)

Created:
4 years, 7 months ago by Nicolas Zea
Modified:
4 years, 7 months ago
Reviewers:
maxbogue, Ilya Sherman
CC:
chromium-reviews, asvitkine+watch_chromium.org, sync-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Add histograms for cookie jar state on Sessions commit On every SESSIONS entity commit, record whether the cookie jar matches the signed in user. If it doesn't, record also whether the cookie jar was empty or not. BUG=599593 Committed: https://crrev.com/41ee49d233b7dd996f7322b119a22852832dd7e3 Cr-Commit-Position: refs/heads/master@{#394624}

Patch Set 1 #

Patch Set 2 : Self review #

Total comments: 4

Patch Set 3 : Update histogram enums #

Total comments: 2

Patch Set 4 : git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -48 lines) Patch
M chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc View 1 2 3 4 chunks +11 lines, -0 lines 0 comments Download
M components/browser_sync/browser/profile_sync_service.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/glue/sync_backend_host_core.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/glue/sync_backend_host_core.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/glue/sync_backend_host_impl.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/sync_driver/glue/sync_backend_host_mock.h View 1 chunk +1 line, -1 line 0 comments Download
M components/sync_driver/glue/sync_backend_host_mock.cc View 1 chunk +2 lines, -1 line 0 comments Download
M sync/engine/commit.h View 1 2 3 1 chunk +9 lines, -9 lines 0 comments Download
M sync/engine/commit.cc View 1 2 3 1 chunk +12 lines, -13 lines 0 comments Download
M sync/engine/commit_processor.h View 1 chunk +4 lines, -0 lines 0 comments Download
M sync/engine/commit_processor.cc View 1 2 3 chunks +12 lines, -0 lines 0 comments Download
M sync/engine/syncer.cc View 1 2 3 1 chunk +8 lines, -7 lines 0 comments Download
M sync/internal_api/public/sync_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/public/test/fake_sync_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/sync_manager_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M sync/internal_api/sync_manager_impl.cc View 1 chunk +3 lines, -1 line 0 comments Download
M sync/internal_api/test/fake_sync_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M sync/sessions/sync_session_context.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M sync/sessions/sync_session_context.cc View 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
Nicolas Zea
+Max for review. +Ilya for histograms.
4 years, 7 months ago (2016-05-18 19:20:36 UTC) #3
Ilya Sherman
histograms lgtm % nits: https://chromiumcodereview.appspot.com/1991973002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1991973002/diff/20001/tools/metrics/histograms/histograms.xml#newcode53822 tools/metrics/histograms/histograms.xml:53822: +<histogram name="Sync.CookieJarEmptyOnMismatch" enum="Boolean"> nit: BooleanEmpty ...
4 years, 7 months ago (2016-05-18 21:03:01 UTC) #4
maxbogue
lgtm! Just one tiny tiny nit. https://chromiumcodereview.appspot.com/1991973002/diff/40001/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc File chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc (right): https://chromiumcodereview.appspot.com/1991973002/diff/40001/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc#newcode178 chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc:178: false, 1); Nit: ...
4 years, 7 months ago (2016-05-18 22:14:49 UTC) #5
Nicolas Zea
https://codereview.chromium.org/1991973002/diff/40001/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc File chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc (right): https://codereview.chromium.org/1991973002/diff/40001/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc#newcode178 chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc:178: false, 1); On 2016/05/18 22:14:48, maxbogue wrote: > Nit: ...
4 years, 7 months ago (2016-05-18 22:18:28 UTC) #6
Nicolas Zea
https://chromiumcodereview.appspot.com/1991973002/diff/20001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://chromiumcodereview.appspot.com/1991973002/diff/20001/tools/metrics/histograms/histograms.xml#newcode53822 tools/metrics/histograms/histograms.xml:53822: +<histogram name="Sync.CookieJarEmptyOnMismatch" enum="Boolean"> On 2016/05/18 21:03:01, Ilya Sherman wrote: ...
4 years, 7 months ago (2016-05-18 22:18:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1991973002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1991973002/60001
4 years, 7 months ago (2016-05-18 22:19:27 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-19 01:07:07 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 01:08:52 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/41ee49d233b7dd996f7322b119a22852832dd7e3
Cr-Commit-Position: refs/heads/master@{#394624}

Powered by Google App Engine
This is Rietveld 408576698