Report data usage UMA for Chrome services
This issue has the same goals as issue 1330443002( It was reverted
because it breaded compile on multiple bots).
data_use_measurement is a component which records the data use of the
services, if a DataUseUserData is attached to their request. Hence to
measure and compare data use of different services, a small change is
needed in the services' code where they create a URLFetcher. After
creating a URLFetcher by a service, a proper tag for that service should
be attached to the request.
Besides the necessary changes in the service, the enum in DataUseUserData
and the function returning the names based on this enum should be updated
for different services too. Also the name of target services should be
added to proper enum and histograms in histograms.xml file.
Lastly the dependency files should be updated accordingly too.
[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
BUG=527304
Review URL: https://codereview.chromium.org/1336333003
Cr-Commit-Position: refs/heads/master@{#348645}
diff --git a/components/omnibox.gypi b/components/omnibox.gypi
index f3636689..1c5d027 100644
--- a/components/omnibox.gypi
+++ b/components/omnibox.gypi
@@ -24,6 +24,7 @@
'component_metrics_proto',
'components_resources.gyp:components_resources',
'components_strings.gyp:components_strings',
+ 'data_use_measurement_core',
'history_core_browser',
'keyed_service_core',
'omnibox_common',