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

Unified Diff: components/ukm/BUILD.gn

Issue 2653693004: UKM Sync Observer (Closed)
Patch Set: Complex state Created 3 years, 10 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
Index: components/ukm/BUILD.gn
diff --git a/components/ukm/BUILD.gn b/components/ukm/BUILD.gn
index 4cd8a19599aa5a89a94023049aee5b427ef3ea35..398d893e69de187f6c2028744ed9f3954ba1270b 100644
--- a/components/ukm/BUILD.gn
+++ b/components/ukm/BUILD.gn
@@ -36,11 +36,14 @@ static_library("observers") {
sources = [
"observers/history_delete_observer.cc",
"observers/history_delete_observer.h",
+ "observers/sync_disable_observer.cc",
+ "observers/sync_disable_observer.h",
]
deps = [
"//base",
"//components/history/core/browser",
+ "//components/sync",
]
}
@@ -64,10 +67,12 @@ static_library("test_support") {
source_set("unit_tests") {
testonly = true
sources = [
+ "observers/sync_disable_observer_unittest.cc",
"ukm_service_unittest.cc",
]
deps = [
+ ":observers",
":test_support",
":ukm",
"//base",
@@ -75,6 +80,7 @@ source_set("unit_tests") {
"//components/metrics",
"//components/metrics:test_support",
"//components/prefs:test_support",
+ "//components/sync:test_support_driver",
"//net:test_support",
"//testing/gtest",
"//third_party/zlib:compression_utils",

Powered by Google App Engine
This is Rietveld 408576698