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

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

Issue 9395058: [Sync] Remove SyncableServiceAdapter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 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_impl.h
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl.h b/chrome/browser/sync/profile_sync_components_factory_impl.h
index 0ecdf05cb9655d2238298ed312b75b787149bfe8..77ab3cb7d89f17716ed1a67e429907394d573d74 100644
--- a/chrome/browser/sync/profile_sync_components_factory_impl.h
+++ b/chrome/browser/sync/profile_sync_components_factory_impl.h
@@ -38,57 +38,25 @@ class ProfileSyncComponentsFactoryImpl : public ProfileSyncComponentsFactory {
virtual base::WeakPtr<SyncableService> GetSyncableServiceForType(
syncable::ModelType type) OVERRIDE;
- virtual base::WeakPtr<SyncableService> GetAutofillProfileSyncableService(
- WebDataService* web_data_service) const OVERRIDE;
-
- virtual base::WeakPtr<SyncableService> GetAutocompleteSyncableService(
- WebDataService* web_data_service) const OVERRIDE;
-
+ // Legacy datatypes that need to be converted to the SyncableService API.
virtual SyncComponents CreateBookmarkSyncComponents(
ProfileSyncService* profile_sync_service,
browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
- virtual SyncComponents CreateExtensionOrAppSettingSyncComponents(
- // Either EXTENSION_SETTING or APP_SETTING.
- syncable::ModelType type,
- ProfileSyncService* profile_sync_service,
- browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
- virtual SyncComponents CreateExtensionOrAppSyncComponents(
- syncable::ModelType type, // Either EXTENSIONS or APPS.
- ProfileSyncService* profile_sync_service,
- browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
virtual SyncComponents CreatePasswordSyncComponents(
ProfileSyncService* profile_sync_service,
PasswordStore* password_store,
browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
- virtual SyncComponents CreatePreferenceSyncComponents(
- ProfileSyncService* profile_sync_service,
- browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
virtual SyncComponents CreateThemeSyncComponents(
ProfileSyncService* profile_sync_service,
browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
virtual SyncComponents CreateTypedUrlSyncComponents(
ProfileSyncService* profile_sync_service,
history::HistoryBackend* history_backend,
browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
virtual SyncComponents CreateSessionSyncComponents(
ProfileSyncService* profile_sync_service,
browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
- virtual SyncComponents CreateSearchEngineSyncComponents(
- ProfileSyncService* profile_sync_service,
- browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
- virtual SyncComponents CreateAppNotificationSyncComponents(
- ProfileSyncService* profile_sync_service,
- browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
-
private:
Profile* profile_;
CommandLine* command_line_;
« no previous file with comments | « chrome/browser/sync/profile_sync_components_factory.h ('k') | chrome/browser/sync/profile_sync_components_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698