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

Unified Diff: chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc

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
« no previous file with comments | « chrome/browser/sync/profile_sync_test_util.cc ('k') | chrome/browser/sync/sync_error_notifier_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
diff --git a/chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc b/chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
index c4a7042071b77cb91c81489cacba461adaf8ebcc..d099e23430fae17d4d19b9718950be50167b90b8 100644
--- a/chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
+++ b/chrome/browser/sync/sessions/sessions_sync_manager_unittest.cc
@@ -42,9 +42,9 @@
using content::WebContents;
using sessions::SerializedNavigationEntry;
using sessions::SerializedNavigationEntryTestHelper;
-using syncer::DeviceInfo;
-using syncer::LocalDeviceInfoProvider;
-using syncer::LocalDeviceInfoProviderMock;
+using sync_driver::DeviceInfo;
+using sync_driver::LocalDeviceInfoProvider;
+using sync_driver::LocalDeviceInfoProviderMock;
using syncer::SyncChange;
using syncer::SyncData;
@@ -332,7 +332,7 @@ class SessionsSyncManagerTest
new NotificationServiceSessionsRouter(
profile(), GetSyncSessionsClient(),
syncer::SyncableService::StartSyncFlare()));
- sync_prefs_.reset(new syncer::SyncPrefs(profile()->GetPrefs()));
+ sync_prefs_.reset(new sync_driver::SyncPrefs(profile()->GetPrefs()));
manager_.reset(new SessionsSyncManager(
GetSyncSessionsClient(), sync_prefs_.get(), local_device_.get(),
std::unique_ptr<LocalSessionEventRouter>(router),
@@ -408,7 +408,7 @@ class SessionsSyncManagerTest
return sessions_client_shim_.get();
}
- syncer::SyncPrefs* sync_prefs() { return sync_prefs_.get(); }
+ sync_driver::SyncPrefs* sync_prefs() { return sync_prefs_.get(); }
SyncedWindowDelegatesGetter* get_synced_window_getter() {
return manager()->synced_window_delegates_getter();
@@ -466,7 +466,7 @@ class SessionsSyncManagerTest
private:
std::unique_ptr<browser_sync::ChromeSyncClient> sync_client_;
std::unique_ptr<SyncSessionsClientShim> sessions_client_shim_;
- std::unique_ptr<syncer::SyncPrefs> sync_prefs_;
+ std::unique_ptr<sync_driver::SyncPrefs> sync_prefs_;
SessionNotificationObserver observer_;
std::unique_ptr<SessionsSyncManager> manager_;
SessionSyncTestHelper helper_;
« no previous file with comments | « chrome/browser/sync/profile_sync_test_util.cc ('k') | chrome/browser/sync/sync_error_notifier_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698