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

Unified Diff: components/sync_sessions/BUILD.gn

Issue 1408643002: [Sync] Componentize synced_tab_delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN, self review Created 5 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
Index: components/sync_sessions/BUILD.gn
diff --git a/components/sync_sessions/BUILD.gn b/components/sync_sessions/BUILD.gn
index 59275aa7da3c6e2100935665e9408ca37ae9d5ba..fdc15e26e117c0d1a987164aeb2d5e5edddfb675 100644
--- a/components/sync_sessions/BUILD.gn
+++ b/components/sync_sessions/BUILD.gn
@@ -17,6 +17,10 @@ source_set("sync_sessions") {
"revisit/typed_url_page_revisit_observer.h",
"revisit/typed_url_page_revisit_task.cc",
"revisit/typed_url_page_revisit_task.h",
+ "sync_sessions_client.cc",
+ "sync_sessions_client.h",
+ "synced_tab_delegate.cc",
+ "synced_tab_delegate.h",
]
deps = [
@@ -28,6 +32,20 @@ source_set("sync_sessions") {
]
}
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "fake_sync_sessions_client.cc",
+ "fake_sync_sessions_client.h",
+ ]
+
+ public_deps = [
+ ":sync_sessions",
+ ]
+
+ deps = []
+}
+
source_set("unit_tests") {
testonly = true
sources = [
@@ -39,6 +57,7 @@ source_set("unit_tests") {
deps = [
":sync_sessions",
+ ":test_support",
"//base/test:test_support",
"//testing/gtest",
"//sync",

Powered by Google App Engine
This is Rietveld 408576698