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

Issue 290343005: Pass MetricsServiceClient into MetricsService, and create a simple stubbed TestMetricsServiceClient… (Closed)

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

Description

Pass MetricsServiceClient into MetricsService, and create a simple stubbed TestMetricsServiceClient class. BUG=374237, 374235 TEST=compiles R=asvitkine@chromium.org, blundell@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271873

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 5

Patch Set 3 : git add test files #

Patch Set 4 : Add a DCHECK #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -18 lines) Patch
M chrome/browser/metrics/chrome_metrics_service_client.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/chrome_metrics_service_client.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/metrics/metrics_service.h View 1 2 3 4 3 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/metrics/metrics_service_unittest.cc View 1 2 3 4 6 chunks +12 lines, -6 lines 0 comments Download
M chrome/browser/metrics/metrics_services_manager.h View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_services_manager.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M components/metrics.gypi View 1 2 3 4 5 1 chunk +20 lines, -0 lines 0 comments Download
A components/metrics/test_metrics_service_client.h View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A components/metrics/test_metrics_service_client.cc View 1 2 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Ilya Sherman
6 years, 7 months ago (2014-05-19 16:17:51 UTC) #1
Alexei Svitkine (slow)
LGTM % nit Sorry I didn't get a chance to look at this yesterday. https://codereview.chromium.org/290343005/diff/20001/chrome/browser/metrics/metrics_service.cc ...
6 years, 7 months ago (2014-05-20 07:47:10 UTC) #2
blundell
not LGTM You didn't add the test client :). https://codereview.chromium.org/290343005/diff/20001/components/metrics.gypi File components/metrics.gypi (right): https://codereview.chromium.org/290343005/diff/20001/components/metrics.gypi#newcode59 components/metrics.gypi:59: ...
6 years, 7 months ago (2014-05-20 08:08:56 UTC) #3
Ilya Sherman
> You didn't add the test client :). Oops! Now added :) https://codereview.chromium.org/290343005/diff/20001/components/metrics.gypi File components/metrics.gypi ...
6 years, 7 months ago (2014-05-20 08:28:26 UTC) #4
blundell
LGTM https://codereview.chromium.org/290343005/diff/20001/components/metrics.gypi File components/metrics.gypi (right): https://codereview.chromium.org/290343005/diff/20001/components/metrics.gypi#newcode59 components/metrics.gypi:59: # TODO(isherman): Remove all //chrome dependencies on this ...
6 years, 7 months ago (2014-05-20 09:07:07 UTC) #5
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 7 months ago (2014-05-20 09:08:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/290343005/40001
6 years, 7 months ago (2014-05-20 09:09:23 UTC) #7
Ilya Sherman
https://codereview.chromium.org/290343005/diff/20001/chrome/browser/metrics/metrics_service.cc File chrome/browser/metrics/metrics_service.cc (right): https://codereview.chromium.org/290343005/diff/20001/chrome/browser/metrics/metrics_service.cc#newcode481 chrome/browser/metrics/metrics_service.cc:481: DCHECK(state_manager_); On 2014/05/20 07:47:10, Alexei Svitkine wrote: > Nit: ...
6 years, 7 months ago (2014-05-20 09:17:23 UTC) #8
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 7 months ago (2014-05-20 09:17:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/290343005/60001
6 years, 7 months ago (2014-05-20 09:18:06 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 15:45:51 UTC) #11
commit-bot: I haz the power
Failed to apply patch for chrome/browser/metrics/metrics_service_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-20 15:45:51 UTC) #12
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 7 months ago (2014-05-20 15:54:11 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/290343005/80001
6 years, 7 months ago (2014-05-20 15:56:44 UTC) #14
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-20 19:34:33 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-20 19:47:38 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/win_chromium_rel/builds/17963)
6 years, 7 months ago (2014-05-20 19:47:38 UTC) #17
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 7 months ago (2014-05-20 22:27:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/290343005/100001
6 years, 7 months ago (2014-05-20 22:28:11 UTC) #19
Ilya Sherman
The CQ bit was unchecked by isherman@chromium.org
6 years, 7 months ago (2014-05-21 08:34:36 UTC) #20
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 7 months ago (2014-05-21 08:34:42 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/isherman@chromium.org/290343005/100001
6 years, 7 months ago (2014-05-21 08:35:34 UTC) #22
Ilya Sherman
6 years, 7 months ago (2014-05-21 09:20:37 UTC) #23
Message was sent while issue was closed.
Committed patchset #6 manually as r271873 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698