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

Issue 2428413005: Revise system profile prefs clearing (Closed)

Created:
4 years, 2 months ago by manzagop (departed)
Modified:
4 years, 2 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revise system profile prefs clearing The previous approach was to only clear them if the previous run was unclean. This CL changes the clearing to every time there is an update, after the initial stability log has been sent and it is no longer useful. This is to avoid version misattribution if the updated version crashes before writing a system profile. Note however that some parts of the system profile may change from run to run (e.g. field trials). That said, this CL doesn't change behavior in that respect. BUG=415982 Committed: https://crrev.com/780bb8b8bfb0485e5263c39c17c4aaa300dcabe1 Cr-Commit-Position: refs/heads/master@{#426788}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Patch Set 3 : Fix broken tests #

Patch Set 4 : Update LoadSavedEnvironmentFromPrefs's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -26 lines) Patch
M components/metrics/metrics_log.h View 1 2 3 2 chunks +7 lines, -10 lines 0 comments Download
M components/metrics/metrics_log.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M components/metrics/metrics_log_unittest.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M components/metrics/metrics_service.cc View 1 2 2 chunks +21 lines, -7 lines 0 comments Download

Messages

Total messages: 31 (23 generated)
manzagop (departed)
Hi Alexei, I think this makes more sense but may be lacking some context. Thanks! ...
4 years, 2 months ago (2016-10-20 16:35:46 UTC) #5
Alexei Svitkine (slow)
lgtm % comments https://chromiumcodereview.appspot.com/2428413005/diff/1/components/metrics/metrics_log.h File components/metrics/metrics_log.h (right): https://chromiumcodereview.appspot.com/2428413005/diff/1/components/metrics/metrics_log.h#newcode92 components/metrics/metrics_log.h:92: // the UI thread. A synthetic ...
4 years, 2 months ago (2016-10-20 16:47:26 UTC) #10
manzagop (departed)
Thanks! https://chromiumcodereview.appspot.com/2428413005/diff/1/components/metrics/metrics_log.h File components/metrics/metrics_log.h (right): https://chromiumcodereview.appspot.com/2428413005/diff/1/components/metrics/metrics_log.h#newcode92 components/metrics/metrics_log.h:92: // the UI thread. A synthetic trial is ...
4 years, 2 months ago (2016-10-20 18:38:37 UTC) #13
Alexei Svitkine (slow)
lgtm
4 years, 2 months ago (2016-10-20 18:42:41 UTC) #14
manzagop (departed)
Two tests were failing (my bad!) so I made these changes: - changed MetricsLogTest.LoadSavedEnvironmentFromPrefs to ...
4 years, 2 months ago (2016-10-20 21:44:54 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2428413005/60001
4 years, 2 months ago (2016-10-21 14:13:37 UTC) #27
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-21 14:21:44 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 14:30:53 UTC) #31
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/780bb8b8bfb0485e5263c39c17c4aaa300dcabe1
Cr-Commit-Position: refs/heads/master@{#426788}

Powered by Google App Engine
This is Rietveld 408576698