summaryrefslogtreecommitdiffstats
path: root/components/sync_driver.gypi
diff options
context:
space:
mode:
authorskym <skym@chromium.org>2016-03-04 17:03:04 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-05 01:04:30 +0000
commit8508454d96083fec8efdd59045db7ebdf6be50d6 (patch)
tree2ca7184e495e3429c3e44ce12314d949932b0357 /components/sync_driver.gypi
parent9c6677f6d346364b23581302dbb3a2d3905bf873 (diff)
downloadchromium_src-8508454d96083fec8efdd59045db7ebdf6be50d6.zip
chromium_src-8508454d96083fec8efdd59045db7ebdf6be50d6.tar.gz
chromium_src-8508454d96083fec8efdd59045db7ebdf6be50d6.tar.bz2
[Sync] Adding device count histogram based off pulsing device info.
Currently pulsing device info once per day, and counting inactive at 14 days. The intention is to setup a delete directive from the server to remove significantly old device infos, for example 60 days, one this reaches stable. The pulsing is not triggered off other sync actions, was not able to find an elegant/simple way to do this. Keying off sessions changes doesn't work if the sessions data type is disabled, and keying off a sync thread commit is problematic because we'd need to jump threads. BUG=590006 Review URL: https://codereview.chromium.org/1764703002 Cr-Commit-Position: refs/heads/master@{#379421}
Diffstat (limited to 'components/sync_driver.gypi')
-rw-r--r--components/sync_driver.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/sync_driver.gypi b/components/sync_driver.gypi
index d42fb2b..95d4bea 100644
--- a/components/sync_driver.gypi
+++ b/components/sync_driver.gypi
@@ -16,6 +16,7 @@
'../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
'data_use_measurement_core',
'invalidation_public',
+ 'metrics',
'os_crypt',
'signin_core_browser',
'version_info',
@@ -48,6 +49,8 @@
'sync_driver/data_type_manager_observer.h',
'sync_driver/data_type_status_table.cc',
'sync_driver/data_type_status_table.h',
+ 'sync_driver/device_count_metrics_provider.cc',
+ 'sync_driver/device_count_metrics_provider.h',
'sync_driver/device_info.cc',
'sync_driver/device_info.h',
'sync_driver/device_info_data_type_controller.cc',