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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « components/data_usage/PRESUBMIT.py ('k') | components/data_usage/core/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 source_set("certificate_transparency") { 5 source_set("core") {
6 sources = [ 6 sources = [
7 "log_proof_fetcher.cc", 7 "data_use.cc",
8 "log_proof_fetcher.h", 8 "data_use.h",
9 "data_use_aggregator.cc",
10 "data_use_aggregator.h",
9 ] 11 ]
10
11 deps = [ 12 deps = [
12 "//base", 13 "//base",
13 "//components/safe_json",
14 "//net", 14 "//net",
15 "//url", 15 "//url",
16 ] 16 ]
17 } 17 }
18 18
19 source_set("unit_tests") { 19 source_set("unit_tests") {
20 testonly = true 20 testonly = true
21 sources = [ 21 sources = [
22 "log_proof_fetcher_unittest.cc", 22 "data_use_aggregator_unittest.cc",
23 ] 23 ]
24 24
25 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
26
25 deps = [ 27 deps = [
26 ":certificate_transparency", 28 ":core",
29 "//base",
27 "//base/test:test_support", 30 "//base/test:test_support",
31 "//net:test_support",
28 "//testing/gtest", 32 "//testing/gtest",
29 ] 33 ]
30 } 34 }
OLDNEW
« 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