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

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

Issue 1373373002: Create component to expose network usage stats to consumers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits Created 5 years, 2 months 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
« no previous file with comments | « components/data_usage/PRESUBMIT.py ('k') | components/data_usage/core/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/data_usage/core/BUILD.gn
diff --git a/components/certificate_transparency/BUILD.gn b/components/data_usage/core/BUILD.gn
similarity index 57%
copy from components/certificate_transparency/BUILD.gn
copy to components/data_usage/core/BUILD.gn
index c541f9763306edb98a1fe54f338102cb83d5f777..963e9e95483232762bd0eec3080d2fc2a21c4142 100644
--- a/components/certificate_transparency/BUILD.gn
+++ b/components/data_usage/core/BUILD.gn
@@ -2,15 +2,15 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("certificate_transparency") {
+source_set("core") {
sources = [
- "log_proof_fetcher.cc",
- "log_proof_fetcher.h",
+ "data_use.cc",
+ "data_use.h",
+ "data_use_aggregator.cc",
+ "data_use_aggregator.h",
]
-
deps = [
"//base",
- "//components/safe_json",
"//net",
"//url",
]
@@ -19,12 +19,16 @@ source_set("certificate_transparency") {
source_set("unit_tests") {
testonly = true
sources = [
- "log_proof_fetcher_unittest.cc",
+ "data_use_aggregator_unittest.cc",
]
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
+
deps = [
- ":certificate_transparency",
+ ":core",
+ "//base",
"//base/test:test_support",
+ "//net:test_support",
"//testing/gtest",
]
}
« no previous file with comments | « components/data_usage/PRESUBMIT.py ('k') | components/data_usage/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698