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

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

Issue 8065016: [Sync] Refactor non-frontend DTC to handle new API properly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Try harder trybot (rebase). Created 9 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: chrome/browser/sync/profile_sync_factory_mock.h
diff --git a/chrome/browser/sync/profile_sync_factory_mock.h b/chrome/browser/sync/profile_sync_factory_mock.h
index 5bb54454fac2c2aaa069af4490a8db6ecd1b0dd7..65eb08614c84403ea4b7c54323cee2783a623aea 100644
--- a/chrome/browser/sync/profile_sync_factory_mock.h
+++ b/chrome/browser/sync/profile_sync_factory_mock.h
@@ -33,6 +33,13 @@ class ProfileSyncFactoryMock : public ProfileSyncFactory {
browser_sync::DataTypeManager*(
browser_sync::SyncBackendHost*,
const browser_sync::DataTypeController::TypeMap*));
+ MOCK_METHOD3(CreateGenericChangeProcessor,
+ browser_sync::GenericChangeProcessor*(
+ ProfileSyncService* profile_sync_service,
+ browser_sync::UnrecoverableErrorHandler* error_handler,
+ const base::WeakPtr<SyncableService>& local_service));
+ MOCK_METHOD0(CreateSharedChangeProcessor,
+ browser_sync::SharedChangeProcessor*());
MOCK_METHOD2(CreateAppSyncComponents,
SyncComponents(ProfileSyncService* profile_sync_service,
browser_sync::UnrecoverableErrorHandler* error_handler));
@@ -41,11 +48,9 @@ class ProfileSyncFactoryMock : public ProfileSyncFactory {
ProfileSyncService* profile_sync_service,
WebDatabase* web_database,
browser_sync::UnrecoverableErrorHandler* error_handler));
- MOCK_METHOD3(CreateAutofillProfileSyncComponents,
- SyncComponents(
- ProfileSyncService* profile_sync_service,
- WebDataService* web_data_service,
- browser_sync::UnrecoverableErrorHandler* error_handler));
+ MOCK_METHOD1(GetAutofillProfileSyncableService,
+ base::WeakPtr<SyncableService>(
+ WebDataService* web_data_service));
MOCK_METHOD2(CreateBookmarkSyncComponents,
SyncComponents(ProfileSyncService* profile_sync_service,
browser_sync::UnrecoverableErrorHandler* error_handler));

Powered by Google App Engine
This is Rietveld 408576698