[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled...
commit3c70256f2470f6de54fe336605c4b1e5e7d85dd4
authorisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 22 May 2014 03:02:12 +0000 (22 03:02 +0000)
committerisherman@chromium.org <isherman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 22 May 2014 03:02:12 +0000 (22 03:02 +0000)
tree69088c1064875cfb5a563d5cac288c0ca88ecf30
parenta6334881468ceb9a514946a86e4191a154676e04
[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled (take 2)

This is a recommit of
[ https://src.chromium.org/viewvc/chrome?view=rev&revision=271798 ], fixing IWYU.

BUG=374296
TEST=compiles
R=asvitkine@chromium.org

Review URL: https://codereview.chromium.org/294123006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272057 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/metrics/metrics_service_unittest.cc
chrome/browser/metrics/metrics_services_manager.cc
chrome/browser/metrics/metrics_services_manager.h
chrome/browser/metrics/metrics_state_manager.cc
chrome/browser/metrics/metrics_state_manager.h
chrome/browser/metrics/metrics_state_manager_unittest.cc
chrome/common/chrome_switches.cc
chrome/common/chrome_switches.h