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

Unified Diff: components/network_time/BUILD.gn

Issue 2421143002: Fix broken clockstate.network2 histogram and add unit test (Closed)
Patch Set: meacer suggestion: move field trial into test util Created 4 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 | « no previous file | components/network_time/network_time_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/network_time/BUILD.gn
diff --git a/components/network_time/BUILD.gn b/components/network_time/BUILD.gn
index c7170edd004172cbdc6304f699f5f2ccc67302da..11e5c6630e06f87d8924c9df877bd229da0bed08 100644
--- a/components/network_time/BUILD.gn
+++ b/components/network_time/BUILD.gn
@@ -28,6 +28,7 @@ source_set("unit_tests") {
deps = [
":network_time",
+ ":network_time_test_support",
"//base",
"//base/test:test_support",
"//components/client_update_protocol",
@@ -38,3 +39,18 @@ source_set("unit_tests") {
"//testing/gtest",
]
}
+
+source_set("network_time_test_support") {
+ testonly = true
+ sources = [
+ "network_time_test_utils.cc",
+ "network_time_test_utils.h",
+ ]
+
+ deps = [
+ "//base",
+ "//base/test:test_support",
+ "//components/variations",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « no previous file | components/network_time/network_time_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698