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

Unified Diff: chrome/browser/sync/profile_sync_service_mock.h

Issue 7511004: [Sync] Refactor data type configuration/activation/deactivation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests, address comments Created 9 years, 4 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: chrome/browser/sync/profile_sync_service_mock.h
diff --git a/chrome/browser/sync/profile_sync_service_mock.h b/chrome/browser/sync/profile_sync_service_mock.h
index 69785ffb51b734d90aad3280e983bee4b4f8a431..0c81c9c79978ef4fe08f679cfdc79dea6256a5c0 100644
--- a/chrome/browser/sync/profile_sync_service_mock.h
+++ b/chrome/browser/sync/profile_sync_service_mock.h
@@ -37,12 +37,10 @@ class ProfileSyncServiceMock : public ProfileSyncService {
MOCK_METHOD2(OnUnrecoverableError,
void(const tracked_objects::Location& location,
const std::string& message));
- MOCK_METHOD2(ActivateDataType,
- void(browser_sync::DataTypeController* data_type_controller,
- browser_sync::ChangeProcessor* change_processor));
- MOCK_METHOD2(DeactivateDataType,
- void(browser_sync::DataTypeController* data_type_controller,
- browser_sync::ChangeProcessor* change_processor));
+ MOCK_METHOD3(ActivateDataType,
+ void(syncable::ModelType, browser_sync::ModelSafeGroup,
+ browser_sync::ChangeProcessor*));
+ MOCK_METHOD1(DeactivateDataType, void(syncable::ModelType));
MOCK_METHOD0(InitializeBackend, void());
MOCK_METHOD1(AddObserver, void(Observer*));
« chrome/browser/sync/profile_sync_service.h ('K') | « chrome/browser/sync/profile_sync_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698