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

Unified Diff: components/browser_sync/profile_sync_test_util.h

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 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/browser_sync/profile_sync_test_util.h
diff --git a/components/browser_sync/profile_sync_test_util.h b/components/browser_sync/profile_sync_test_util.h
index 1c573a74abcd37694ed64ce685740e75684dd494..52b9a35d8924cc863d269723c0f55168c780bc7f 100644
--- a/components/browser_sync/profile_sync_test_util.h
+++ b/components/browser_sync/profile_sync_test_util.h
@@ -91,9 +91,8 @@ class ProfileSyncServiceBundle {
// The client will call this callback to produce the SyncService for the
// current Profile.
- void SetSyncServiceCallback(
- const base::Callback<syncer::SyncService*(void)>&
- get_sync_service_callback);
+ void SetSyncServiceCallback(const base::Callback<sync_driver::SyncService*(
+ void)>& get_sync_service_callback);
void SetHistoryService(history::HistoryService* history_service);
@@ -103,7 +102,7 @@ class ProfileSyncServiceBundle {
void set_activate_model_creation() { activate_model_creation_ = true; }
- std::unique_ptr<syncer::FakeSyncClient> Build();
+ std::unique_ptr<sync_driver::FakeSyncClient> Build();
private:
// Associated bundle to source objects from.
@@ -113,7 +112,7 @@ class ProfileSyncServiceBundle {
base::Callback<base::WeakPtr<syncer::SyncableService>(
syncer::ModelType type)>
get_syncable_service_callback_;
- base::Callback<syncer::SyncService*(void)> get_sync_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_;
@@ -129,7 +128,7 @@ class ProfileSyncServiceBundle {
// the bundle.
ProfileSyncService::InitParams CreateBasicInitParams(
ProfileSyncService::StartBehavior start_behavior,
- std::unique_ptr<syncer::SyncClient> sync_client);
+ std::unique_ptr<sync_driver::SyncClient> sync_client);
// Accessors
@@ -147,7 +146,7 @@ class ProfileSyncServiceBundle {
AccountTrackerService* account_tracker() { return &account_tracker_; }
- syncer::SyncApiComponentFactoryMock* component_factory() {
+ SyncApiComponentFactoryMock* component_factory() {
return &component_factory_;
}
@@ -174,7 +173,7 @@ class ProfileSyncServiceBundle {
AccountTrackerService account_tracker_;
FakeSigninManagerType signin_manager_;
FakeProfileOAuth2TokenService auth_service_;
- syncer::SyncApiComponentFactoryMock component_factory_;
+ SyncApiComponentFactoryMock component_factory_;
sync_sessions::FakeSyncSessionsClient sync_sessions_client_;
invalidation::FakeInvalidationService fake_invalidation_service_;
scoped_refptr<net::URLRequestContextGetter> url_request_context_;
« no previous file with comments | « components/browser_sync/profile_sync_service_unittest.cc ('k') | components/browser_sync/profile_sync_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698