Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Unified Diff: components/data_usage/android/BUILD.gn

Issue 1390993005: Amortize data usage using TrafficStats on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_use_buffering
Patch Set: Fixed nit Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_usage/android/BUILD.gn
diff --git a/components/data_usage/core/BUILD.gn b/components/data_usage/android/BUILD.gn
similarity index 68%
copy from components/data_usage/core/BUILD.gn
copy to components/data_usage/android/BUILD.gn
index 06e19b97a59beab487700bf1dfe189ad247a9ec3..f3d70da3dc34053b8fec3459276f5aad9d039269 100644
--- a/components/data_usage/core/BUILD.gn
+++ b/components/data_usage/android/BUILD.gn
@@ -2,16 +2,14 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("core") {
+source_set("android") {
sources = [
- "data_use.cc",
- "data_use.h",
- "data_use_aggregator.cc",
- "data_use_aggregator.h",
- "data_use_annotator.h",
+ "traffic_stats_amortizer.cc",
+ "traffic_stats_amortizer.h",
]
deps = [
"//base",
+ "//components/data_usage/core",
"//net",
"//url",
]
@@ -20,15 +18,16 @@ source_set("core") {
source_set("unit_tests") {
testonly = true
sources = [
- "data_use_aggregator_unittest.cc",
+ "traffic_stats_amortizer_unittest.cc",
]
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
deps = [
- ":core",
+ ":android",
"//base",
"//base/test:test_support",
+ "//components/data_usage/core",
"//net:test_support",
"//testing/gtest",
]

Powered by Google App Engine
This is Rietveld 408576698