Introduce ProfilerMetricsProvider
commit83d09f9a5b65992f24595500c81761a5a7bfc7cb
authorblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 3 Jun 2014 14:58:26 +0000 (3 14:58 +0000)
committerblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 3 Jun 2014 14:58:26 +0000 (3 14:58 +0000)
tree1476903593ab17dec070e6dc6259fc1dc1b0062d
parent609d8399092629d56fea5b4a0a1b246bcbfdbbfc
Introduce ProfilerMetricsProvider

This CL introduces ProfilerMetricsProvider, which takes the profiler data
recording responsibilities that were previously part of MetricsLog.
ProfilerMetricsProvider records profiler data into a cached proto and then
merges this data into the actual UMA proto in RecordGeneralMetrics().

BUG=379881

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274528 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/metrics/metrics_log.cc
chrome/browser/metrics/metrics_log.h
chrome/browser/metrics/metrics_log_unittest.cc
chrome/browser/metrics/metrics_service.cc
chrome/browser/metrics/metrics_service.h
chrome/browser/metrics/profiler_metrics_provider.cc [new file with mode: 0644]
chrome/browser/metrics/profiler_metrics_provider.h [new file with mode: 0644]
chrome/browser/metrics/profiler_metrics_provider_unittest.cc [new file with mode: 0644]
chrome/chrome_browser.gypi
chrome/chrome_tests_unit.gypi