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

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: 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_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 b370484484ed331d0bfbe52818e40ec2da491e35..4a490105ee4ba1a2974b6e27c346ac1358c78d11 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::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
- virtual SyncComponents CreateExtensionOrAppSettingSyncComponents(
- // Either EXTENSION_SETTING or APP_SETTING.
- syncable::ModelType type,
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
- virtual SyncComponents CreateExtensionOrAppSyncComponents(
- syncable::ModelType type, // Either EXTENSIONS or APPS.
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
virtual SyncComponents CreatePasswordSyncComponents(
ProfileSyncService* profile_sync_service,
PasswordStore* password_store,
browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
- virtual SyncComponents CreatePreferenceSyncComponents(
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
virtual SyncComponents CreateThemeSyncComponents(
ProfileSyncService* profile_sync_service,
browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
virtual SyncComponents CreateTypedUrlSyncComponents(
ProfileSyncService* profile_sync_service,
history::HistoryBackend* history_backend,
browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
virtual SyncComponents CreateSessionSyncComponents(
ProfileSyncService* profile_sync_service,
browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
- virtual SyncComponents CreateSearchEngineSyncComponents(
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
- virtual SyncComponents CreateAppNotificationSyncComponents(
- ProfileSyncService* profile_sync_service,
- browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
-
private:
Profile* profile_;
CommandLine* command_line_;

Powered by Google App Engine
This is Rietveld 408576698