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

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

Issue 10834351: [sync] Divorce DataTypeManager from NotificationService notifications by creating a new DataTypeMa… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restore expectations in DTMImpl unittest + Treat observer_ as const Created 8 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_components_factory_mock.h
diff --git a/chrome/browser/sync/profile_sync_components_factory_mock.h b/chrome/browser/sync/profile_sync_components_factory_mock.h
index 7a08288d9a1c6cda64e19606998b8c0382e06072..cba62810017986bdbae47d6cc5bee097119fb8b0 100644
--- a/chrome/browser/sync/profile_sync_components_factory_mock.h
+++ b/chrome/browser/sync/profile_sync_components_factory_mock.h
@@ -26,10 +26,11 @@ class ProfileSyncComponentsFactoryMock : public ProfileSyncComponentsFactory {
virtual ~ProfileSyncComponentsFactoryMock();
MOCK_METHOD1(RegisterDataTypes, void(ProfileSyncService*));
- MOCK_METHOD2(CreateDataTypeManager,
+ MOCK_METHOD3(CreateDataTypeManager,
browser_sync::DataTypeManager*(
browser_sync::SyncBackendHost*,
- const browser_sync::DataTypeController::TypeMap*));
+ const browser_sync::DataTypeController::TypeMap*,
+ browser_sync::DataTypeManagerObserver* observer));
MOCK_METHOD3(CreateGenericChangeProcessor,
browser_sync::GenericChangeProcessor*(
ProfileSyncService* profile_sync_service,
« no previous file with comments | « chrome/browser/sync/profile_sync_components_factory_impl.cc ('k') | chrome/browser/sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698