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

Issue 146913005: Factor ChromeOS specific code out of MetricsLog. (Closed)

Created:
6 years, 10 months ago by tdresser
Modified:
6 years, 10 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), Alexei Svitkine (slow)
Visibility:
Public.

Description

Factor ChromeOS specific code out of MetricsLog. This patch moves ChromeOS specific logging from MetricsLog to MetricsLogChromeOS. BUG=339100 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=248588

Patch Set 1 #

Patch Set 2 : Fix bad access to metrics_log_chromes_, more refactoring. #

Patch Set 3 : Fix tests. #

Patch Set 4 : Missed some necessary #defines in unit tests. #

Total comments: 16

Patch Set 5 : Address asvitkine's comments. #

Total comments: 16

Patch Set 6 : Address asvitkine's comments (round 2). #

Total comments: 4

Patch Set 7 : Address asvitkine's nits (round 3). #

Total comments: 6

Patch Set 8 : Address rtenneti nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -182 lines) Patch
M chrome/browser/metrics/metrics_log.h View 1 2 3 4 5 4 chunks +9 lines, -31 lines 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 3 4 5 7 chunks +7 lines, -142 lines 0 comments Download
A chrome/browser/metrics/metrics_log_chromeos.h View 1 2 3 4 5 6 7 1 chunk +57 lines, -0 lines 0 comments Download
A chrome/browser/metrics/metrics_log_chromeos.cc View 1 2 3 4 5 6 7 1 chunk +168 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_log_unittest.cc View 1 2 3 4 5 6 4 chunks +24 lines, -4 lines 0 comments Download
M chrome/browser/metrics/metrics_service_unittest.cc View 1 2 3 4 5 3 chunks +25 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
tdresser
https://codereview.chromium.org/134773004/diff/280001/chrome/browser/metrics/metrics_log.cc#newcode820
6 years, 10 months ago (2014-01-30 13:51:10 UTC) #1
tdresser
https://codereview.chromium.org/134773004/diff/280001/chrome/browser/metrics/metrics_log.cc#newcode820
6 years, 10 months ago (2014-01-30 13:51:10 UTC) #2
tdresser
asvitkine@chromium.org requested I perform this refactoring here: https://codereview.chromium.org/134773004/diff/280001/chrome/browser/metrics/metrics_log.cc#newcode820
6 years, 10 months ago (2014-01-30 13:51:56 UTC) #3
Alexei Svitkine (slow)
Thanks! Change generally looks good, though I have some comments. https://codereview.chromium.org/146913005/diff/60001/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): https://codereview.chromium.org/146913005/diff/60001/chrome/browser/metrics/metrics_log.cc#newcode746 ...
6 years, 10 months ago (2014-01-30 16:30:44 UTC) #4
tdresser
https://codereview.chromium.org/146913005/diff/60001/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): https://codereview.chromium.org/146913005/diff/60001/chrome/browser/metrics/metrics_log.cc#newcode746 chrome/browser/metrics/metrics_log.cc:746: metrics_log_chromeos_->LogChromeOSMetrics(uma_proto()); On 2014/01/30 16:30:45, Alexei Svitkine wrote: > Please ...
6 years, 10 months ago (2014-01-30 18:04:24 UTC) #5
Alexei Svitkine (slow)
Another round of comments and I think it should be good to go after that. ...
6 years, 10 months ago (2014-01-30 18:17:54 UTC) #6
tdresser
https://codereview.chromium.org/146913005/diff/80001/chrome/browser/metrics/metrics_log.cc File chrome/browser/metrics/metrics_log.cc (right): https://codereview.chromium.org/146913005/diff/80001/chrome/browser/metrics/metrics_log.cc#newcode358 chrome/browser/metrics/metrics_log.cc:358: new MetricsLogChromeOS(uma_proto()->mutable_system_profile())); On 2014/01/30 18:17:54, Alexei Svitkine wrote: > ...
6 years, 10 months ago (2014-01-30 19:32:30 UTC) #7
Alexei Svitkine (slow)
Thanks for the clean up. LGTM with a couple last nits. https://codereview.chromium.org/146913005/diff/100001/chrome/browser/metrics/metrics_log_chromeos.cc File chrome/browser/metrics/metrics_log_chromeos.cc (right): ...
6 years, 10 months ago (2014-01-30 19:37:21 UTC) #8
tdresser
Thanks for the thorough review! https://codereview.chromium.org/146913005/diff/100001/chrome/browser/metrics/metrics_log_chromeos.cc File chrome/browser/metrics/metrics_log_chromeos.cc (right): https://codereview.chromium.org/146913005/diff/100001/chrome/browser/metrics/metrics_log_chromeos.cc#newcode1 chrome/browser/metrics/metrics_log_chromeos.cc:1: // Copyright (c) 2013 ...
6 years, 10 months ago (2014-01-30 20:29:36 UTC) #9
tdresser
On 2014/01/30 20:29:36, tdresser wrote: > Thanks for the thorough review! > > https://codereview.chromium.org/146913005/diff/100001/chrome/browser/metrics/metrics_log_chromeos.cc > ...
6 years, 10 months ago (2014-01-31 13:23:19 UTC) #10
ramant (doing other things)
lgtm https://codereview.chromium.org/146913005/diff/120001/chrome/browser/metrics/metrics_log_chromeos.cc File chrome/browser/metrics/metrics_log_chromeos.cc (right): https://codereview.chromium.org/146913005/diff/120001/chrome/browser/metrics/metrics_log_chromeos.cc#newcode77 chrome/browser/metrics/metrics_log_chromeos.cc:77: void MetricsLogChromeOS::WriteRealtimeStabilityAttributes( nit: line# 77 and 78 could ...
6 years, 10 months ago (2014-02-03 17:45:26 UTC) #11
tdresser
https://codereview.chromium.org/146913005/diff/120001/chrome/browser/metrics/metrics_log_chromeos.cc File chrome/browser/metrics/metrics_log_chromeos.cc (right): https://codereview.chromium.org/146913005/diff/120001/chrome/browser/metrics/metrics_log_chromeos.cc#newcode77 chrome/browser/metrics/metrics_log_chromeos.cc:77: void MetricsLogChromeOS::WriteRealtimeStabilityAttributes( On 2014/02/03 17:45:27, ramant wrote: > nit: ...
6 years, 10 months ago (2014-02-03 17:55:33 UTC) #12
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 10 months ago (2014-02-03 17:55:44 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/146913005/180001
6 years, 10 months ago (2014-02-03 17:56:23 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-03 19:26:35 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) telemetry_perf_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=255667
6 years, 10 months ago (2014-02-03 19:26:36 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 19:26:37 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 19:26:42 UTC) #18
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 10 months ago (2014-02-03 19:30:10 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/146913005/180001
6 years, 10 months ago (2014-02-03 19:30:22 UTC) #20
commit-bot: I haz the power
Change committed as 248588
6 years, 10 months ago (2014-02-03 22:12:40 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 22:12:40 UTC) #22
commit-bot: I haz the power
6 years, 10 months ago (2014-02-03 22:12:44 UTC) #23
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698