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

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 test broken by rebase 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 f9c714946cbc275e0809bc16eff5a6ce4d6b930a..e1b31cf6b3f6fffbddd1e5ab58b8c363f79b1fe0 100644
--- a/components/sync_sessions/BUILD.gn
+++ b/components/sync_sessions/BUILD.gn
@@ -23,6 +23,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 = [
@@ -33,11 +37,28 @@ source_set("sync_sessions") {
"//components/sessions",
"//components/sync_driver",
"//sync",
+ "//ui/base",
"//ui/gfx",
"//url",
]
}
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "fake_sync_sessions_client.cc",
+ "fake_sync_sessions_client.h",
+ ]
+
+ public_deps = [
+ ":sync_sessions",
+ "//base",
+ "//url",
+ ]
+
+ deps = []
+}
+
source_set("unit_tests") {
testonly = true
sources = [
@@ -51,6 +72,7 @@ source_set("unit_tests") {
deps = [
":sync_sessions",
+ ":test_support",
"//base/test:test_support",
"//testing/gmock",
"//components/bookmarks/browser",

Powered by Google App Engine
This is Rietveld 408576698