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

Issue 289283011: Introduce ChromeStabilityMetricsProvider (Closed)

Created:
6 years, 7 months ago by blundell
Modified:
6 years, 7 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

Introduce ChromeStabilityMetricsProvider This class provides Chrome-specific stability metrics, enabling moving code related to these metrics out of MetricsLog and MetricsService. It also eliminates all notification listening from MetricsService. As part of the latter change, ThreadWatcherObserver now registers explicitly for the notifications it is concerned with rather than going through MetricsService for this purpose. BUG=375237 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272426

Patch Set 1 #

Total comments: 10

Patch Set 2 : Response to review #

Total comments: 2

Patch Set 3 : Response to review #

Patch Set 4 : Rebase and move notifications code #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+284 lines, -170 lines) Patch
A chrome/browser/metrics/chrome_stability_metrics_provider.h View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A chrome/browser/metrics/chrome_stability_metrics_provider.cc View 1 2 1 chunk +188 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 3 4 5 1 chunk +1 line, -24 lines 0 comments Download
M chrome/browser/metrics/metrics_service.h View 1 2 3 4 5 10 chunks +1 line, -31 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 5 10 chunks +3 lines, -113 lines 0 comments Download
M chrome/browser/metrics/thread_watcher.cc View 1 2 3 2 chunks +31 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
blundell
6 years, 7 months ago (2014-05-21 14:53:30 UTC) #1
Alexei Svitkine (slow)
https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (right): https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode13 chrome/browser/metrics/chrome_stability_metrics_provider.cc:13: #include "base/strings/string16.h" Nit: Is this needed? https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode14 chrome/browser/metrics/chrome_stability_metrics_provider.cc:14: #include ...
6 years, 7 months ago (2014-05-21 15:02:29 UTC) #2
blundell
https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (right): https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode13 chrome/browser/metrics/chrome_stability_metrics_provider.cc:13: #include "base/strings/string16.h" On 2014/05/21 15:02:29, Alexei Svitkine wrote: > ...
6 years, 7 months ago (2014-05-21 15:14:16 UTC) #3
Alexei Svitkine (slow)
LGTM % comments Thanks! https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (right): https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode14 chrome/browser/metrics/chrome_stability_metrics_provider.cc:14: #include "base/strings/string_util.h" On 2014/05/21 15:14:17, ...
6 years, 7 months ago (2014-05-21 15:18:53 UTC) #4
blundell
https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc File chrome/browser/metrics/chrome_stability_metrics_provider.cc (right): https://codereview.chromium.org/289283011/diff/1/chrome/browser/metrics/chrome_stability_metrics_provider.cc#newcode14 chrome/browser/metrics/chrome_stability_metrics_provider.cc:14: #include "base/strings/string_util.h" oops, removed both but forgot to save ...
6 years, 7 months ago (2014-05-21 15:23:17 UTC) #5
blundell
Alexei, Could you take another look? I've made a bunch of changes around notifications after ...
6 years, 7 months ago (2014-05-22 09:23:51 UTC) #6
Alexei Svitkine (slow)
LGTM, good catch!
6 years, 7 months ago (2014-05-22 09:32:23 UTC) #7
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-22 09:35:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/289283011/80001
6 years, 7 months ago (2014-05-22 09:37:42 UTC) #9
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-22 14:06:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/289283011/100001
6 years, 7 months ago (2014-05-22 14:07:55 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-22 18:28:54 UTC) #12
commit-bot: I haz the power
Failed to apply patch for chrome/browser/metrics/metrics_service.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-22 18:28:54 UTC) #13
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 7 months ago (2014-05-22 19:07:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/blundell@chromium.org/289283011/120001
6 years, 7 months ago (2014-05-22 19:11:27 UTC) #15
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-22 23:52:10 UTC) #16
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 07:16:43 UTC) #17
Message was sent while issue was closed.
Change committed as 272426

Powered by Google App Engine
This is Rietveld 408576698