summaryrefslogtreecommitdiffstats
path: root/components/invalidation.gypi
diff options
context:
space:
mode:
authoramohammadkhan <amohammadkhan@google.com>2015-09-14 10:34:43 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-14 17:35:19 +0000
commitf76ae11f25dc0056cea63e15c16039fdbd5f3470 (patch)
treefd1285923858b8b5ed211c405aefd9ec9cb98106 /components/invalidation.gypi
parent7ba3d6825c0bb7ce3eee3b4fae4a3fa7325d5e11 (diff)
downloadchromium_src-f76ae11f25dc0056cea63e15c16039fdbd5f3470.zip
chromium_src-f76ae11f25dc0056cea63e15c16039fdbd5f3470.tar.gz
chromium_src-f76ae11f25dc0056cea63e15c16039fdbd5f3470.tar.bz2
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. TBR=bartfab@chromium.org,andrewhayden@chromium.org,pkasting@chromium.org,sclittle@chromium.org,thestig@chromium.org,isherman@chromium.org,rouslan@chromium.org,nyquist@chromium.org,bengr@chromium.org,asvltkine@chromium.org,zea@chromium.org,mmenke@chromium.org BUG=527304 Review URL: https://codereview.chromium.org/1336333003 Cr-Commit-Position: refs/heads/master@{#348645}
Diffstat (limited to 'components/invalidation.gypi')
-rw-r--r--components/invalidation.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/invalidation.gypi b/components/invalidation.gypi
index affc2b3..d9f0a69 100644
--- a/components/invalidation.gypi
+++ b/components/invalidation.gypi
@@ -54,6 +54,7 @@
'../google_apis/google_apis.gyp:google_apis',
'../jingle/jingle.gyp:notifier',
'../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
+ 'data_use_measurement_core',
'gcm_driver',
'keyed_service_core',
'pref_registry',