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

Issue 558683002: Extract the handling of the clean exit beacon from MetricsService. The extracted implementation sup… (Closed)

Created:
6 years, 3 months ago by erikwright (departed)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, Ilya Sherman, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Extract the handling of the clean exit beacon from MetricsService. The extracted implementation supports the use of a backup storage location and reports consistency between the two locations. BUG=412398 Committed: https://crrev.com/65b58df31c75ef627cdff2a2ee377330fd86c2b4 Cr-Commit-Position: refs/heads/master@{#294498}

Patch Set 1 #

Patch Set 2 : Extract a base CL. #

Patch Set 3 : Extract a base CL. #

Patch Set 4 : Review feedback. #

Total comments: 21

Patch Set 5 : Review feedback. #

Patch Set 6 : Add a forgotten new file. #

Patch Set 7 : Rebase. #

Total comments: 8

Patch Set 8 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -16 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_client.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M components/metrics.gypi View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M components/metrics/BUILD.gn View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
A components/metrics/clean_exit_beacon.h View 1 2 3 4 1 chunk +45 lines, -0 lines 0 comments Download
A components/metrics/clean_exit_beacon.cc View 1 2 3 4 5 6 7 1 chunk +80 lines, -0 lines 0 comments Download
M components/metrics/metrics_service.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M components/metrics/metrics_service.cc View 1 2 3 4 5 6 6 chunks +14 lines, -12 lines 0 comments Download
M components/metrics/metrics_service_client.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
A + components/metrics/metrics_service_client.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (2 generated)
erikwright (departed)
asvitkine: PTAL for components/metrics and histograms.xml
6 years, 3 months ago (2014-09-09 17:23:05 UTC) #2
erikwright (departed)
I extracted two base CLs, and now you can review everything, please, Alexei.
6 years, 3 months ago (2014-09-09 18:54:37 UTC) #3
Alexei Svitkine (slow)
I think this could be made much simpler by not going through ChromeMetricsServiceClient. All the ...
6 years, 3 months ago (2014-09-09 21:05:26 UTC) #4
erikwright (departed)
On 2014/09/09 21:05:26, Alexei Svitkine wrote: > I think this could be made much simpler ...
6 years, 3 months ago (2014-09-09 21:07:48 UTC) #5
Alexei Svitkine (slow)
Getter on the client interface SGTM. On Tue, Sep 9, 2014 at 5:07 PM, <erikwright@chromium.org> ...
6 years, 3 months ago (2014-09-09 21:09:17 UTC) #6
erikwright (departed)
PTAL.
6 years, 3 months ago (2014-09-11 14:14:17 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/558683002/diff/60001/chrome/browser/metrics/chrome_metrics_service_client.cc File chrome/browser/metrics/chrome_metrics_service_client.cc (right): https://codereview.chromium.org/558683002/diff/60001/chrome/browser/metrics/chrome_metrics_service_client.cc#newcode277 chrome/browser/metrics/chrome_metrics_service_client.cc:277: return L"Software\\" PRODUCT_STRING_PATH L"\\StabilityMetrics"; Hmm, where is PRODUCT_STRING_PATH defined? ...
6 years, 3 months ago (2014-09-11 15:23:28 UTC) #8
erikwright (departed)
Please confirm that you want me to: #ifdef the member declaration #ifdef the constructor definition ...
6 years, 3 months ago (2014-09-11 15:39:14 UTC) #9
Alexei Svitkine (slow)
"Please confirm that you want me to: #ifdef the member declaration" I think we don't ...
6 years, 3 months ago (2014-09-11 15:57:28 UTC) #10
erikwright (departed)
https://codereview.chromium.org/558683002/diff/60001/components/metrics/clean_exit_beacon.cc File components/metrics/clean_exit_beacon.cc (right): https://codereview.chromium.org/558683002/diff/60001/components/metrics/clean_exit_beacon.cc#newcode25 components/metrics/clean_exit_beacon.cc:25: #if defined(OS_WIN) On 2014/09/11 15:57:28, Alexei Svitkine wrote: > ...
6 years, 3 months ago (2014-09-11 16:03:14 UTC) #11
Alexei Svitkine (slow)
https://codereview.chromium.org/558683002/diff/60001/components/metrics/clean_exit_beacon.cc File components/metrics/clean_exit_beacon.cc (right): https://codereview.chromium.org/558683002/diff/60001/components/metrics/clean_exit_beacon.cc#newcode25 components/metrics/clean_exit_beacon.cc:25: #if defined(OS_WIN) On 2014/09/11 16:03:14, erikwright wrote: > On ...
6 years, 3 months ago (2014-09-11 17:07:19 UTC) #12
erikwright (departed)
PTAL. https://codereview.chromium.org/558683002/diff/60001/components/metrics/clean_exit_beacon.cc File components/metrics/clean_exit_beacon.cc (right): https://codereview.chromium.org/558683002/diff/60001/components/metrics/clean_exit_beacon.cc#newcode21 components/metrics/clean_exit_beacon.cc:21: "user_experience_metrics.stability.exited_cleanly"; On 2014/09/11 15:57:28, Alexei Svitkine wrote: > ...
6 years, 3 months ago (2014-09-11 19:00:29 UTC) #13
Alexei Svitkine (slow)
https://codereview.chromium.org/558683002/diff/120001/components/metrics/clean_exit_beacon.cc File components/metrics/clean_exit_beacon.cc (right): https://codereview.chromium.org/558683002/diff/120001/components/metrics/clean_exit_beacon.cc#newcode15 components/metrics/clean_exit_beacon.cc:15: #endif Nit: Add a newline after this. https://codereview.chromium.org/558683002/diff/120001/components/metrics/clean_exit_beacon.cc#newcode26 components/metrics/clean_exit_beacon.cc:26: ...
6 years, 3 months ago (2014-09-11 19:20:27 UTC) #14
erikwright (departed)
PTAL. https://codereview.chromium.org/558683002/diff/120001/components/metrics/clean_exit_beacon.cc File components/metrics/clean_exit_beacon.cc (right): https://codereview.chromium.org/558683002/diff/120001/components/metrics/clean_exit_beacon.cc#newcode15 components/metrics/clean_exit_beacon.cc:15: #endif On 2014/09/11 19:20:26, Alexei Svitkine wrote: > ...
6 years, 3 months ago (2014-09-11 19:42:20 UTC) #15
Alexei Svitkine (slow)
LGTM
6 years, 3 months ago (2014-09-11 19:49:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/558683002/140001
6 years, 3 months ago (2014-09-11 22:24:07 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:140001) as 2c610dc2b5250278153a4dd8a9e96aefe52609fa
6 years, 3 months ago (2014-09-12 00:08:00 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 00:22:20 UTC) #20
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/65b58df31c75ef627cdff2a2ee377330fd86c2b4
Cr-Commit-Position: refs/heads/master@{#294498}

Powered by Google App Engine
This is Rietveld 408576698