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

Issue 532623003: Remove MetricsServiceObserver in favor of MetricsProvider. (Closed)

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

Description

Remove MetricsServiceObserver in favor of MetricsProvider. The only user of this interface has been folded into NetworkMetricsProvider. BUG=409872 Committed: https://crrev.com/bbde62b5db62e2a0902e79ebc4abee980c0bb443 Cr-Commit-Position: refs/heads/master@{#293149}

Patch Set 1 : #

Patch Set 2 : Fix GN build. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -215 lines) Patch
D chrome/browser/chrome_browser_metrics_service_observer.h View 1 chunk +0 lines, -25 lines 0 comments Download
D chrome/browser/chrome_browser_metrics_service_observer.cc View 1 chunk +0 lines, -21 lines 0 comments Download
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.h View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/metrics/chrome_browser_main_extra_parts_metrics.cc View 2 chunks +0 lines, -7 lines 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_accessor.h View 2 chunks +0 lines, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_service_accessor.h View 2 chunks +0 lines, -9 lines 0 comments Download
M chrome/browser/metrics/metrics_service_accessor.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M chrome/browser/metrics/network_metrics_provider.h View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/metrics/network_metrics_provider.cc View 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M components/metrics.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M components/metrics/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
M components/metrics/metrics_service.h View 4 chunks +4 lines, -16 lines 0 comments Download
M components/metrics/metrics_service.cc View 1 chunk +1 line, -13 lines 2 comments Download
D components/metrics/metrics_service_observer.h View 1 chunk +0 lines, -29 lines 0 comments Download
D components/metrics/metrics_service_observer.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M components/metrics/metrics_service_unittest.cc View 3 chunks +0 lines, -49 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
Alexei Svitkine (slow)
6 years, 3 months ago (2014-09-02 16:51:59 UTC) #2
Ilya Sherman
LGTM, thanks. https://codereview.chromium.org/532623003/diff/80001/components/metrics/metrics_service.cc File components/metrics/metrics_service.cc (right): https://codereview.chromium.org/532623003/diff/80001/components/metrics/metrics_service.cc#newcode670 components/metrics/metrics_service.cc:670: DCHECK(IsSingleThreaded()); nit: Hmm, is this change needed ...
6 years, 3 months ago (2014-09-03 00:28:40 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/532623003/diff/80001/components/metrics/metrics_service.cc File components/metrics/metrics_service.cc (right): https://codereview.chromium.org/532623003/diff/80001/components/metrics/metrics_service.cc#newcode670 components/metrics/metrics_service.cc:670: DCHECK(IsSingleThreaded()); On 2014/09/03 00:28:40, Ilya Sherman wrote: > nit: ...
6 years, 3 months ago (2014-09-03 13:24:41 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/532623003/80001
6 years, 3 months ago (2014-09-03 13:25:09 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 3 months ago (2014-09-03 14:47:21 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/8407)
6 years, 3 months ago (2014-09-03 14:51:43 UTC) #9
Alexei Svitkine (slow)
+sky for chrome/browser OWNERS
6 years, 3 months ago (2014-09-03 14:56:15 UTC) #11
sky
LGTM
6 years, 3 months ago (2014-09-03 16:11:04 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/532623003/80001
6 years, 3 months ago (2014-09-03 16:14:53 UTC) #14
commit-bot: I haz the power
Failed to commit the patch.
6 years, 3 months ago (2014-09-03 16:28:23 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/532623003/80001
6 years, 3 months ago (2014-09-03 16:31:08 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:80001) as 16dc6849265d2a70f69f4be77a999b80d42937c5
6 years, 3 months ago (2014-09-03 16:34:27 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:26:08 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bbde62b5db62e2a0902e79ebc4abee980c0bb443
Cr-Commit-Position: refs/heads/master@{#293149}

Powered by Google App Engine
This is Rietveld 408576698