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

Unified Diff: components/browser_sync/profile_sync_service_mock.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_service_mock.h
diff --git a/components/browser_sync/profile_sync_service_mock.h b/components/browser_sync/profile_sync_service_mock.h
index 3ddb30f54e951f9429264474f448d18027bdfbf3..0777344bd04cfbbb841ba99dd8ffc8d4ef2cb2c0 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(syncer::SyncServiceObserver*));
- MOCK_METHOD1(RemoveObserver, void(syncer::SyncServiceObserver*));
+ MOCK_METHOD1(AddObserver, void(sync_driver::SyncServiceObserver*));
+ MOCK_METHOD1(RemoveObserver, void(sync_driver::SyncServiceObserver*));
MOCK_METHOD0(GetJsController, base::WeakPtr<syncer::JsController>());
MOCK_CONST_METHOD0(IsFirstSetupComplete, bool());
@@ -66,8 +66,7 @@ class ProfileSyncServiceMock : public ProfileSyncService {
MOCK_CONST_METHOD0(GetRegisteredDataTypes, syncer::ModelTypeSet());
MOCK_CONST_METHOD0(GetLastCycleSnapshot, syncer::SyncCycleSnapshot());
- MOCK_METHOD1(QueryDetailedSyncStatus,
- bool(syncer::SyncBackendHost::Status* result));
+ MOCK_METHOD1(QueryDetailedSyncStatus, bool(SyncBackendHost::Status* result));
MOCK_CONST_METHOD0(GetAuthError, const GoogleServiceAuthError&());
MOCK_CONST_METHOD0(IsFirstSetupInProgress, bool());
MOCK_CONST_METHOD0(GetLastSyncedTimeString, base::string16());
@@ -81,7 +80,7 @@ class ProfileSyncServiceMock : public ProfileSyncService {
// DataTypeManagerObserver mocks.
MOCK_METHOD1(OnConfigureDone,
- void(const syncer::DataTypeManager::ConfigureResult&));
+ void(const sync_driver::DataTypeManager::ConfigureResult&));
MOCK_METHOD0(OnConfigureStart, void());
MOCK_CONST_METHOD0(CanSyncStart, bool());

Powered by Google App Engine
This is Rietveld 408576698