diff options
author | sclittle <sclittle@chromium.org> | 2015-11-11 17:12:09 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-12 01:13:06 +0000 |
commit | c441f78fcb48ef54a880e32fc2b43996958d3eb9 (patch) | |
tree | 0d4dbca6f358252290486ec9e3892d849fd7bfb7 /components/components_tests.gyp | |
parent | 708eadbf7e32aa3e90e2bd4da2d07d025de91593 (diff) | |
download | chromium_src-c441f78fcb48ef54a880e32fc2b43996958d3eb9.zip chromium_src-c441f78fcb48ef54a880e32fc2b43996958d3eb9.tar.gz chromium_src-c441f78fcb48ef54a880e32fc2b43996958d3eb9.tar.bz2 |
Amortize data usage using TrafficStats on Android.
This CL adds a DataUseAmortizer interface to the data_usage component,
and makes the DataUseAggregator use it to amortize data usage byte
counts on supported platforms.
This CL also adds an implementation of the DataUseAmortizer based on
TrafficStats for Android.
TBR=brettw@chromium.org,mmenke@chromium.org
BUG=518051
Review URL: https://codereview.chromium.org/1390993005
Cr-Commit-Position: refs/heads/master@{#359198}
Diffstat (limited to 'components/components_tests.gyp')
-rw-r--r-- | components/components_tests.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/components_tests.gyp b/components/components_tests.gyp index 8187a69..98a1380 100644 --- a/components/components_tests.gyp +++ b/components/components_tests.gyp @@ -1283,6 +1283,7 @@ 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_blocking_page_unittest.cc', 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_resource_throttle_unittest.cc', 'data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager_unittest.cc', + 'data_usage/android/traffic_stats_amortizer_unittest.cc', 'invalidation/impl/invalidation_logger_unittest.cc', 'invalidation/impl/invalidation_service_android_unittest.cc', ], @@ -1303,6 +1304,7 @@ 'dependencies': [ 'components.gyp:cronet_static', 'components.gyp:data_reduction_proxy_content', + 'components.gyp:data_usage_android', 'components.gyp:safe_json_java', '../content/content.gyp:content_java', '../testing/android/native_test.gyp:native_test_native_code', |