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

Unified Diff: components/sync/BUILD.gn

Issue 2909283003: [Sync] Split UserEventService into interface and impl, add fake impl, add unit tests. (Closed)
Patch Set: Added a NoOp service to handle OffTheRecord. Created 3 years, 7 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/sync/BUILD.gn
diff --git a/components/sync/BUILD.gn b/components/sync/BUILD.gn
index 8fa00f334f7072df28322a32b0d2d14f2546fe05..ae91ee01f843f601e0597f7874745535f59d4446 100644
--- a/components/sync/BUILD.gn
+++ b/components/sync/BUILD.gn
@@ -572,8 +572,14 @@ static_library("sync") {
"syncable/write_transaction.h",
"syncable/write_transaction_info.cc",
"syncable/write_transaction_info.h",
+ "user_events/fake_user_event_service.cc",
+ "user_events/fake_user_event_service.h",
+ "user_events/no_op_user_event_service.cc",
+ "user_events/no_op_user_event_service.h",
"user_events/user_event_service.cc",
"user_events/user_event_service.h",
+ "user_events/user_event_service_impl.cc",
+ "user_events/user_event_service_impl.h",
"user_events/user_event_sync_bridge.cc",
"user_events/user_event_sync_bridge.h",
]
@@ -945,7 +951,7 @@ source_set("unit_tests") {
"syncable/syncable_enum_conversions_unittest.cc",
"syncable/syncable_id_unittest.cc",
"syncable/syncable_unittest.cc",
- "user_events/user_event_service_unittest.cc",
+ "user_events/user_event_service_impl_unittest.cc",
"user_events/user_event_sync_bridge_unittest.cc",
]

Powered by Google App Engine
This is Rietveld 408576698