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

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

Issue 9395058: [Sync] Remove SyncableServiceAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 8 years, 10 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 f362eab72ec5a4d4b8d823b60f0263099a3768cc..f4c5412e1bdd23ce463c94f2f93fa8164f1105dd 100644
--- a/chrome/browser/sync/profile_sync_components_factory_mock.h
+++ b/chrome/browser/sync/profile_sync_components_factory_mock.h
@@ -38,31 +38,14 @@ class ProfileSyncComponentsFactoryMock : public ProfileSyncComponentsFactory {
browser_sync::SharedChangeProcessor*());
MOCK_METHOD1(GetSyncableServiceForType,
base::WeakPtr<SyncableService>(syncable::ModelType));
- MOCK_CONST_METHOD1(GetAutofillProfileSyncableService,
- base::WeakPtr<SyncableService>(
- WebDataService* web_data_service));
- MOCK_CONST_METHOD1(GetAutocompleteSyncableService,
- base::WeakPtr<SyncableService>(
- WebDataService* web_data_service));
MOCK_METHOD2(CreateBookmarkSyncComponents,
SyncComponents(ProfileSyncService* profile_sync_service,
browser_sync::UnrecoverableErrorHandler* error_handler));
- MOCK_METHOD3(CreateExtensionOrAppSyncComponents,
- SyncComponents(syncable::ModelType type,
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler));
- MOCK_METHOD3(CreateExtensionOrAppSettingSyncComponents,
- SyncComponents(syncable::ModelType model_type,
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler));
MOCK_METHOD3(CreatePasswordSyncComponents,
SyncComponents(
ProfileSyncService* profile_sync_service,
PasswordStore* password_store,
browser_sync::UnrecoverableErrorHandler* error_handler));
- MOCK_METHOD2(CreatePreferenceSyncComponents,
- SyncComponents(ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler));
MOCK_METHOD2(CreateSessionSyncComponents,
SyncComponents(ProfileSyncService* profile_sync_service,
browser_sync::UnrecoverableErrorHandler* error_handler));
@@ -74,14 +57,6 @@ class ProfileSyncComponentsFactoryMock : public ProfileSyncComponentsFactory {
ProfileSyncService* profile_sync_service,
history::HistoryBackend* history_backend,
browser_sync::UnrecoverableErrorHandler* error_handler));
- MOCK_METHOD2(CreateSearchEngineSyncComponents,
- SyncComponents(
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler));
- MOCK_METHOD2(CreateAppNotificationSyncComponents,
- SyncComponents(
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler));
private:
SyncComponents MakeSyncComponents();

Powered by Google App Engine
This is Rietveld 408576698