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

Side by Side Diff: components/data_use_measurement/core/BUILD.gn

Issue 2462983003: Move data use measurement to DataUseNetworkDelegate (Closed)
Patch Set: Move DataUseMeasurement to core Created 4 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 unified diff | Download patch
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 static_library("core") { 5 static_library("core") {
6 sources = [ 6 sources = [
7 "data_use.cc",
8 "data_use.h",
9 "data_use_ascriber.cc",
10 "data_use_ascriber.h",
11 "data_use_network_delegate.cc",
12 "data_use_network_delegate.h",
13 "data_use_recorder.cc",
14 "data_use_recorder.h",
15 "data_use_user_data.cc", 7 "data_use_user_data.cc",
16 "data_use_user_data.h", 8 "data_use_user_data.h",
17 ] 9 ]
18 deps = [ 10 deps = [
19 "//base", 11 "//base",
20 "//net", 12 "//net",
21 ] 13 ]
22 } 14 }
15
16 static_library("ascriber") {
17 sources = [
18 "data_use.cc",
19 "data_use.h",
20 "data_use_ascriber.cc",
21 "data_use_ascriber.h",
22 "data_use_measurement.cc",
23 "data_use_measurement.h",
24 "data_use_network_delegate.cc",
25 "data_use_network_delegate.h",
26 "data_use_recorder.cc",
27 "data_use_recorder.h",
28 ]
29 deps = [
30 "//base",
31 "//components/metrics:metrics",
32 "//net",
33 ]
34 }
35
36 source_set("unit_tests") {
37 sources = [
38 "data_use_measurement_unittest.cc",
39 "data_use_network_delegate_unittest.cc",
40 ]
41 testonly = true
42 deps = [
43 ":ascriber",
44 ":core",
45 "//base/test:test_support",
46 "//net:test_support",
47 "//testing/gtest",
48 ]
49 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698