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

Unified Diff: components/browser_sync/browser/profile_sync_test_util.h

Issue 1705813002: Remove //chrome and //content deps from ProfileSyncServiceBookmarkTest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@586642_pre-clean-up
Patch Set: Just rebased Created 4 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
« no previous file with comments | « components/browser_sync/browser/DEPS ('k') | components/browser_sync/browser/profile_sync_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/browser_sync/browser/profile_sync_test_util.h
diff --git a/components/browser_sync/browser/profile_sync_test_util.h b/components/browser_sync/browser/profile_sync_test_util.h
index 4a55cafe7ee037726fbd5708b04f57e89b479121..b5bea3a2eac1526c0977f6889904288ac072b9db 100644
--- a/components/browser_sync/browser/profile_sync_test_util.h
+++ b/components/browser_sync/browser/profile_sync_test_util.h
@@ -99,6 +99,10 @@ class ProfileSyncServiceBundle {
void SetHistoryService(history::HistoryService* history_service);
+ void SetBookmarkModelCallback(
+ const base::Callback<bookmarks::BookmarkModel*(void)>&
+ get_bookmark_model_callback);
+
void set_activate_model_creation() { activate_model_creation_ = true; }
scoped_ptr<sync_driver::FakeSyncClient> Build();
@@ -114,6 +118,8 @@ class ProfileSyncServiceBundle {
get_syncable_service_callback_;
base::Callback<sync_driver::SyncService*(void)> get_sync_service_callback_;
history::HistoryService* history_service_ = nullptr;
+ base::Callback<bookmarks::BookmarkModel*(void)>
+ get_bookmark_model_callback_;
// If set, the built client will be able to build some ModelSafeWorker
// instances.
bool activate_model_creation_ = false;
« no previous file with comments | « components/browser_sync/browser/DEPS ('k') | components/browser_sync/browser/profile_sync_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698