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

Unified Diff: components/browser_sync/profile_sync_service_mock.h

Issue 2388163002: [Sync] Move //components/sync to the syncer namespace, take 2. (Closed)
Patch Set: Rebase. 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_service_mock.h
diff --git a/components/browser_sync/profile_sync_service_mock.h b/components/browser_sync/profile_sync_service_mock.h
index 0777344bd04cfbbb841ba99dd8ffc8d4ef2cb2c0..3ddb30f54e951f9429264474f448d18027bdfbf3 100644
--- a/components/browser_sync/profile_sync_service_mock.h
+++ b/components/browser_sync/profile_sync_service_mock.h
@@ -50,8 +50,8 @@ class ProfileSyncServiceMock : public ProfileSyncService {
MOCK_METHOD0(RequestStart, void());
MOCK_METHOD1(RequestStop, void(ProfileSyncService::SyncStopDataFate));
- MOCK_METHOD1(AddObserver, void(sync_driver::SyncServiceObserver*));
- MOCK_METHOD1(RemoveObserver, void(sync_driver::SyncServiceObserver*));
+ MOCK_METHOD1(AddObserver, void(syncer::SyncServiceObserver*));
+ MOCK_METHOD1(RemoveObserver, void(syncer::SyncServiceObserver*));
MOCK_METHOD0(GetJsController, base::WeakPtr<syncer::JsController>());
MOCK_CONST_METHOD0(IsFirstSetupComplete, bool());
@@ -66,7 +66,8 @@ class ProfileSyncServiceMock : public ProfileSyncService {
MOCK_CONST_METHOD0(GetRegisteredDataTypes, syncer::ModelTypeSet());
MOCK_CONST_METHOD0(GetLastCycleSnapshot, syncer::SyncCycleSnapshot());
- MOCK_METHOD1(QueryDetailedSyncStatus, bool(SyncBackendHost::Status* result));
+ MOCK_METHOD1(QueryDetailedSyncStatus,
+ bool(syncer::SyncBackendHost::Status* result));
MOCK_CONST_METHOD0(GetAuthError, const GoogleServiceAuthError&());
MOCK_CONST_METHOD0(IsFirstSetupInProgress, bool());
MOCK_CONST_METHOD0(GetLastSyncedTimeString, base::string16());
@@ -80,7 +81,7 @@ class ProfileSyncServiceMock : public ProfileSyncService {
// DataTypeManagerObserver mocks.
MOCK_METHOD1(OnConfigureDone,
- void(const sync_driver::DataTypeManager::ConfigureResult&));
+ void(const syncer::DataTypeManager::ConfigureResult&));
MOCK_METHOD0(OnConfigureStart, void());
MOCK_CONST_METHOD0(CanSyncStart, bool());

Powered by Google App Engine
This is Rietveld 408576698