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 1082853007: [Sync] Record histogram for mismatched device_ids (Closed)

Created:
5 years, 8 months ago by pavely
Modified:
5 years, 7 months ago
CC:
chromium-reviews, tim+watch_chromium.org, zea+watch_chromium.org, maxbogue+watch_chromium.org, pvalenzuela+watch_chromium.org, plaree+watch_chromium.org, asvitkine+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] Record histogram for mismatched device_ids Server side logs indicate that device_id passed in refresh token annotation request differs from device_id recorded on LST. Scenario is not clear how device_id changes between minting LST and sending annotation request. It is possible that some programs/tools restore preferences to some early state therefore removing devic_id from preferences and causing generation of new device_id. This change adds histogram to see how often this happens. R=stanisc@chromium.org BUG=481596 Committed: https://crrev.com/a3d731e5e0cd0a687cd0883b0d79f0f02bc4a069 Cr-Commit-Position: refs/heads/master@{#327218}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added crbug. #

Total comments: 2

Patch Set 3 : Rebase. Change include to histogram_macros.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -0 lines) Patch
M components/sync_driver/device_info_sync_service.cc View 1 2 3 chunks +41 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
pavely
5 years, 8 months ago (2015-04-24 22:40:13 UTC) #1
stanisc
lgtm sync part of the change https://codereview.chromium.org/1082853007/diff/1/components/sync_driver/device_info_sync_service.cc File components/sync_driver/device_info_sync_service.cc (right): https://codereview.chromium.org/1082853007/diff/1/components/sync_driver/device_info_sync_service.cc#newcode27 components/sync_driver/device_info_sync_service.cc:27: // TODO(pavely): Remove ...
5 years, 8 months ago (2015-04-24 23:05:40 UTC) #2
pavely
+ asvitkine@ for histograms.xml https://codereview.chromium.org/1082853007/diff/1/components/sync_driver/device_info_sync_service.cc File components/sync_driver/device_info_sync_service.cc (right): https://codereview.chromium.org/1082853007/diff/1/components/sync_driver/device_info_sync_service.cc#newcode27 components/sync_driver/device_info_sync_service.cc:27: // TODO(pavely): Remove histogram once ...
5 years, 7 months ago (2015-04-27 18:40:35 UTC) #4
Alexei Svitkine (slow)
lgtm % comments Maybe set BUG=481596 on the CL description? https://codereview.chromium.org/1082853007/diff/20001/components/sync_driver/device_info_sync_service.cc File components/sync_driver/device_info_sync_service.cc (right): https://codereview.chromium.org/1082853007/diff/20001/components/sync_driver/device_info_sync_service.cc#newcode7 ...
5 years, 7 months ago (2015-04-27 19:17:42 UTC) #5
pavely
https://codereview.chromium.org/1082853007/diff/20001/components/sync_driver/device_info_sync_service.cc File components/sync_driver/device_info_sync_service.cc (right): https://codereview.chromium.org/1082853007/diff/20001/components/sync_driver/device_info_sync_service.cc#newcode7 components/sync_driver/device_info_sync_service.cc:7: #include "base/metrics/histogram.h" On 2015/04/27 19:17:42, Alexei Svitkine wrote: > ...
5 years, 7 months ago (2015-04-27 19:52:34 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1082853007/40001
5 years, 7 months ago (2015-04-27 19:52:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1082853007/40001
5 years, 7 months ago (2015-04-28 01:06:18 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-04-28 02:11:53 UTC) #13
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 02:12:46 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a3d731e5e0cd0a687cd0883b0d79f0f02bc4a069
Cr-Commit-Position: refs/heads/master@{#327218}

Powered by Google App Engine
This is Rietveld 408576698