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

Issue 292433015: Refactor MetricsLogChromeOS to ChromeOSMetricsProvider. (Closed)

Created:
6 years, 7 months ago by blundell
Modified:
6 years, 7 months ago
CC:
chromium-reviews, jar (doing other things), stevenjb+watch_chromium.org, asvitkine+watch_chromium.org, oshima+watch_chromium.org, Ilya Sherman, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Refactor MetricsLogChromeOS to ChromeOSMetricsProvider. Turns MetricsLogChromeOS into a metrics::MetricsProvider. Splits the ChromeOS-specific unittests out from the MetricsLog test into separate ChromeOSMetricsProvider tests. Also moves LogChromeOSCrash() from MetricsService to ChromeOSMetricsProvider. BUG=374221 R=asvitkine@chromium.org TBR=derat, pam Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272708

Patch Set 1 #

Total comments: 11

Patch Set 2 : Rebase #

Patch Set 3 : Response to review #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Build fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+394 lines, -632 lines) Patch
M chrome/browser/chromeos/external_metrics.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
A chrome/browser/metrics/chromeos_metrics_provider.h View 1 2 3 4 5 1 chunk +71 lines, -0 lines 0 comments Download
A + chrome/browser/metrics/chromeos_metrics_provider.cc View 1 2 3 4 5 7 chunks +78 lines, -35 lines 0 comments Download
A chrome/browser/metrics/chromeos_metrics_provider_unittest.cc View 1 chunk +223 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_log.h View 1 2 3 4 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 3 4 4 chunks +0 lines, -16 lines 0 comments Download
D chrome/browser/metrics/metrics_log_chromeos.h View 1 chunk +0 lines, -57 lines 0 comments Download
D chrome/browser/metrics/metrics_log_chromeos.cc View 1 chunk +0 lines, -220 lines 0 comments Download
M chrome/browser/metrics/metrics_log_unittest.cc View 1 2 3 8 chunks +0 lines, -240 lines 0 comments Download
M chrome/browser/metrics/metrics_service.h View 1 2 3 4 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 5 chunks +8 lines, -21 lines 0 comments Download
M chrome/browser/metrics/metrics_service_unittest.cc View 1 2 3 2 chunks +1 line, -23 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/metrics_provider.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
blundell
6 years, 7 months ago (2014-05-22 16:17:14 UTC) #1
Alexei Svitkine (slow)
https://codereview.chromium.org/292433015/diff/1/chrome/browser/metrics/chromeos_metrics_provider.cc File chrome/browser/metrics/chromeos_metrics_provider.cc (right): https://codereview.chromium.org/292433015/diff/1/chrome/browser/metrics/chromeos_metrics_provider.cc#newcode106 chrome/browser/metrics/chromeos_metrics_provider.cc:106: IncrementPrefValue(prefs::kStabilityKernelCrashCount); Can you move the registration of these prefs ...
6 years, 7 months ago (2014-05-23 08:41:46 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/292433015/diff/1/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/292433015/diff/1/chrome/browser/metrics/metrics_service.cc#newcode229 chrome/browser/metrics/metrics_service.cc:229: #include "chrome/browser/chromeos/settings/cros_settings.h" On 2014/05/23 08:41:47, Alexei Svitkine wrote: > ...
6 years, 7 months ago (2014-05-23 08:42:31 UTC) #3
blundell
https://codereview.chromium.org/292433015/diff/1/chrome/browser/metrics/chromeos_metrics_provider.cc File chrome/browser/metrics/chromeos_metrics_provider.cc (right): https://codereview.chromium.org/292433015/diff/1/chrome/browser/metrics/chromeos_metrics_provider.cc#newcode106 chrome/browser/metrics/chromeos_metrics_provider.cc:106: IncrementPrefValue(prefs::kStabilityKernelCrashCount); On 2014/05/23 08:41:47, Alexei Svitkine wrote: > Can ...
6 years, 7 months ago (2014-05-23 12:09:22 UTC) #4
Alexei Svitkine (slow)
LGTM https://codereview.chromium.org/292433015/diff/1/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/292433015/diff/1/chrome/browser/metrics/metrics_service.cc#newcode229 chrome/browser/metrics/metrics_service.cc:229: #include "chrome/browser/chromeos/settings/cros_settings.h" On 2014/05/23 12:09:22, blundell wrote: > ...
6 years, 7 months ago (2014-05-23 14:16:19 UTC) #5
blundell
TBR=pam for //chrome/browser/prefs/browser_prefs.cc, derat for //chrome/browser/chromeos/external_metrics.cc
6 years, 7 months ago (2014-05-24 07:08:35 UTC) #6
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-24 07:08:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/292433015/70001
6 years, 7 months ago (2014-05-24 07:09:33 UTC) #8
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-24 10:04:22 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/292433015/90001
6 years, 7 months ago (2014-05-24 10:05:12 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-24 11:40:27 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-24 11:44:28 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/77403)
6 years, 7 months ago (2014-05-24 11:44:28 UTC) #13
blundell
6 years, 7 months ago (2014-05-24 12:17:39 UTC) #14
Message was sent while issue was closed.
Committed patchset #6 manually as r272708 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698