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

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

Issue 2462983003: Move data use measurement to DataUseNetworkDelegate (Closed)
Patch Set: Addressed comments 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") {
RyanSturm 2016/11/10 22:50:30 Why the seperate lib?
Raj 2016/11/10 23:20:26 Library with core files data_use_user_data.* is en
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 ":core",
31 "//base",
32 "//components/metrics:metrics",
33 "//net",
34 ]
35 }
36
37 source_set("unit_tests") {
38 sources = [
39 "data_use_measurement_unittest.cc",
40 "data_use_network_delegate_unittest.cc",
41 ]
42 testonly = true
43 deps = [
44 ":ascriber",
45 ":core",
46 "//base/test:test_support",
47 "//net:test_support",
48 "//testing/gtest",
49 ]
50 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698