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

Issue 312583002: Move MetricsStateManager into the Metrics component. (Closed)

Created:
6 years, 6 months ago by blundell
Modified:
6 years, 6 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, extensions-reviews_chromium.org, tfarina, jar+watch_chromium.org, asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, Ilya Sherman
Visibility:
Public.

Description

Move MetricsStateManager into the Metrics component. Moves the Metrics-related prefs and switches that MetricsStateManager uses into the Metrics component as well. BUG=374210 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274682

Patch Set 1 #

Total comments: 13

Patch Set 2 : Added metrics_switches #

Patch Set 3 : Response to review #

Total comments: 4

Patch Set 4 : Response to review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -601 lines) Patch
M chrome/browser/metrics/cloned_install_detector_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/extensions_metrics_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/extensions_metrics_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/metrics_log.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/metrics_log_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/metrics_service.cc View 1 2 3 5 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/metrics/metrics_service_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/metrics/metrics_services_manager.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
D chrome/browser/metrics/metrics_state_manager.h View 1 chunk +0 lines, -131 lines 0 comments Download
D chrome/browser/metrics/metrics_state_manager.cc View 1 chunk +0 lines, -218 lines 0 comments Download
D chrome/browser/metrics/metrics_state_manager_unittest.cc View 1 chunk +0 lines, -175 lines 0 comments Download
M chrome/browser/metrics/variations/variations_service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M components/components_tests.gyp View 2 chunks +2 lines, -0 lines 0 comments Download
M components/metrics.gypi View 2 chunks +5 lines, -0 lines 0 comments Download
M components/metrics/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/metrics/metrics_pref_names.h View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M components/metrics/metrics_pref_names.cc View 1 2 2 chunks +27 lines, -0 lines 0 comments Download
A + components/metrics/metrics_state_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/metrics/metrics_state_manager.cc View 9 chunks +19 lines, -20 lines 0 comments Download
A + components/metrics/metrics_state_manager_unittest.cc View 6 chunks +6 lines, -7 lines 0 comments Download
A components/metrics/metrics_switches.h View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A components/metrics/metrics_switches.cc View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
blundell
https://codereview.chromium.org/312583002/diff/1/components/metrics.gypi File components/metrics.gypi (right): https://codereview.chromium.org/312583002/diff/1/components/metrics.gypi#newcode16 components/metrics.gypi:16: 'variations', Is this dependency OK from the CrOS pov ...
6 years, 6 months ago (2014-06-02 19:53:57 UTC) #1
Alexei Svitkine (slow)
https://codereview.chromium.org/312583002/diff/1/components/metrics.gypi File components/metrics.gypi (right): https://codereview.chromium.org/312583002/diff/1/components/metrics.gypi#newcode16 components/metrics.gypi:16: 'variations', On 2014/06/02 19:53:58, blundell wrote: > Is this ...
6 years, 6 months ago (2014-06-02 20:35:43 UTC) #2
blundell
oops, metrics_switches added. Small question for you. https://codereview.chromium.org/312583002/diff/1/components/metrics/metrics_pref_names.h File components/metrics/metrics_pref_names.h (right): https://codereview.chromium.org/312583002/diff/1/components/metrics/metrics_pref_names.h#newcode12 components/metrics/metrics_pref_names.h:12: // component. ...
6 years, 6 months ago (2014-06-02 20:43:40 UTC) #3
Alexei Svitkine (slow)
https://codereview.chromium.org/312583002/diff/1/components/metrics/metrics_pref_names.h File components/metrics/metrics_pref_names.h (right): https://codereview.chromium.org/312583002/diff/1/components/metrics/metrics_pref_names.h#newcode12 components/metrics/metrics_pref_names.h:12: // component. Document each in the .cc file. On ...
6 years, 6 months ago (2014-06-02 20:51:43 UTC) #4
blundell
Thanks! https://codereview.chromium.org/312583002/diff/1/components/metrics/metrics_pref_names.cc File components/metrics/metrics_pref_names.cc (right): https://codereview.chromium.org/312583002/diff/1/components/metrics/metrics_pref_names.cc#newcode14 components/metrics/metrics_pref_names.cc:14: const char kMetricsSessionID[] = "user_experience_metrics.session_id"; Do you mind ...
6 years, 6 months ago (2014-06-03 15:46:48 UTC) #5
Alexei Svitkine (slow)
LGTM % comments, thanks! https://codereview.chromium.org/312583002/diff/1/components/metrics/metrics_pref_names.cc File components/metrics/metrics_pref_names.cc (right): https://codereview.chromium.org/312583002/diff/1/components/metrics/metrics_pref_names.cc#newcode14 components/metrics/metrics_pref_names.cc:14: const char kMetricsSessionID[] = "user_experience_metrics.session_id"; ...
6 years, 6 months ago (2014-06-03 17:37:00 UTC) #6
blundell
https://codereview.chromium.org/312583002/diff/60001/components/metrics/metrics_switches.cc File components/metrics/metrics_switches.cc (right): https://codereview.chromium.org/312583002/diff/60001/components/metrics/metrics_switches.cc#newcode12 components/metrics/metrics_switches.cc:12: const char kResetVariationState[] = "reset-variation-state"; On 2014/06/03 17:37:00, Alexei ...
6 years, 6 months ago (2014-06-03 18:42:50 UTC) #7
blundell
The CQ bit was checked by blundell@chromium.org
6 years, 6 months ago (2014-06-03 18:42:57 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/312583002/80001
6 years, 6 months ago (2014-06-03 18:44:33 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_gpu on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-03 23:51:58 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 00:20:08 UTC) #11
Message was sent while issue was closed.
Change committed as 274682

Powered by Google App Engine
This is Rietveld 408576698