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

Issue 217083002: One-time reset of UMA client ids and low entropy source. (Closed)

Created:
6 years, 9 months ago by Alexei Svitkine (slow)
Modified:
6 years, 9 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org, Lei Zhang
Visibility:
Public.

Description

One-time reset of UMA client ids and low entropy source. As we've observed a "cloned install" effect in the wild, doing this will de-clone such installs. (Which will work in conjunction with other measures to prevent new instances of cloned installs appearing). Renames client id and low entropy source prefs so that they are re-generated the next time Chrome runs. Makes the code clear the old prefs, so that they are cleaned up in existing local state files (in a future milestone, we can remove them completely - http://crbug.com/357704). (Note: Does not rename kMetricsPermutedEntropyCache as that pref is reset when the low entropy id is re-generated.) BUG=357618 TEST=Running an UMA-enabled build should result in local state getting new values for user_experience_metrics.low_entropy_source2 and user_experience_metrics.client_id2 and removal of prefs low_entropy_source and client_id. NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260349

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Total comments: 9

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -20 lines) Patch
M chrome/browser/metrics/metrics_log.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/metrics_log_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 5 5 chunks +15 lines, -10 lines 0 comments Download
M chrome/common/pref_names.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/pref_names.cc View 1 2 1 chunk +15 lines, -6 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Alexei Svitkine (slow)
Rob/Jesse, PTAL. One thing I think that's worth discussing is whether we want to reset ...
6 years, 9 months ago (2014-03-28 15:30:37 UTC) #1
jwd
https://codereview.chromium.org/217083002/diff/20001/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/217083002/diff/20001/chrome/browser/metrics/metrics_service.cc#newcode652 chrome/browser/metrics/metrics_service.cc:652: pref->ClearPref(prefs::kMetricsOldClientID); Can you log a boolean histogram when a ...
6 years, 9 months ago (2014-03-28 15:47:51 UTC) #2
rkaplow
lgtm agree with not resetting enabled data timestamp & renaming https://codereview.chromium.org/217083002/diff/20001/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/217083002/diff/20001/chrome/browser/metrics/metrics_service.cc#newcode649 ...
6 years, 9 months ago (2014-03-28 17:20:26 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/217083002/diff/20001/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/217083002/diff/20001/chrome/browser/metrics/metrics_service.cc#newcode649 chrome/browser/metrics/metrics_service.cc:649: // Make a note of when the user opted ...
6 years, 9 months ago (2014-03-28 17:39:14 UTC) #4
Alexei Svitkine (slow)
+thestig, for chrome/common/ OWNERS +isherman, for metrics OWNERS
6 years, 9 months ago (2014-03-28 17:41:32 UTC) #5
Ilya Sherman
https://codereview.chromium.org/217083002/diff/40001/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/217083002/diff/40001/chrome/browser/metrics/metrics_service.cc#newcode486 chrome/browser/metrics/metrics_service.cc:486: // TODO(asvitkine): Remove these once a couple of releases ...
6 years, 9 months ago (2014-03-28 18:23:06 UTC) #6
jwd
LGTM Are we going to wait for the clump prevention cl to submit this?
6 years, 9 months ago (2014-03-28 18:25:54 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/217083002/diff/40001/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/217083002/diff/40001/chrome/browser/metrics/metrics_service.cc#newcode486 chrome/browser/metrics/metrics_service.cc:486: // TODO(asvitkine): Remove these once a couple of releases ...
6 years, 9 months ago (2014-03-28 18:40:19 UTC) #8
Alexei Svitkine (slow)
On 2014/03/28 18:25:54, Jesse Doherty wrote: > LGTM > Are we going to wait for ...
6 years, 9 months ago (2014-03-28 18:58:27 UTC) #9
Ilya Sherman
LGTM https://codereview.chromium.org/217083002/diff/40001/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/217083002/diff/40001/chrome/browser/metrics/metrics_service.cc#newcode653 chrome/browser/metrics/metrics_service.cc:653: UMA_HISTOGRAM_BOOLEAN("UMA.MigratedClientID", true); On 2014/03/28 18:40:19, Alexei Svitkine wrote: ...
6 years, 9 months ago (2014-03-28 19:22:48 UTC) #10
Alexei Svitkine (slow)
+jhawkins for chrome/ OWNERS thestig to cc
6 years, 9 months ago (2014-03-28 19:29:56 UTC) #11
James Hawkins
lgtm
6 years, 9 months ago (2014-03-28 19:31:55 UTC) #12
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 9 months ago (2014-03-28 19:33:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/217083002/90001
6 years, 9 months ago (2014-03-28 19:34:26 UTC) #14
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 9 months ago (2014-03-28 19:59:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-28 21:12:16 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/217083002/110001
6 years, 9 months ago (2014-03-28 21:12:20 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-28 23:44:55 UTC) #18
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
6 years, 9 months ago (2014-03-28 23:44:56 UTC) #19
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 9 months ago (2014-03-28 23:56:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/217083002/110001
6 years, 9 months ago (2014-03-29 00:01:29 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-29 01:43:39 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-29 01:43:40 UTC) #23
Alexei Svitkine (slow)
On 2014/03/29 01:43:40, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 9 months ago (2014-03-29 02:07:39 UTC) #24
Alexei Svitkine (slow)
The CQ bit was checked by asvitkine@chromium.org
6 years, 9 months ago (2014-03-29 02:08:11 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/217083002/110001
6 years, 9 months ago (2014-03-29 02:08:13 UTC) #26
Lei Zhang
Yes, known issue on IRC... On Fri, Mar 28, 2014 at 7:07 PM, <asvitkine@chromium.org> wrote: ...
6 years, 9 months ago (2014-03-29 02:09:23 UTC) #27
commit-bot: I haz the power
6 years, 9 months ago (2014-03-29 03:08:40 UTC) #28
Message was sent while issue was closed.
Change committed as 260349

Powered by Google App Engine
This is Rietveld 408576698