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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 20 matching lines...) Expand all
31 ProfileSyncService* profile_sync_service, 31 ProfileSyncService* profile_sync_service,
32 browser_sync::DataTypeErrorHandler* error_handler, 32 browser_sync::DataTypeErrorHandler* error_handler,
33 const base::WeakPtr<SyncableService>& local_service) OVERRIDE; 33 const base::WeakPtr<SyncableService>& local_service) OVERRIDE;
34 34
35 virtual browser_sync::SharedChangeProcessor* 35 virtual browser_sync::SharedChangeProcessor*
36 CreateSharedChangeProcessor() OVERRIDE; 36 CreateSharedChangeProcessor() OVERRIDE;
37 37
38 virtual base::WeakPtr<SyncableService> GetSyncableServiceForType( 38 virtual base::WeakPtr<SyncableService> GetSyncableServiceForType(
39 syncable::ModelType type) OVERRIDE; 39 syncable::ModelType type) OVERRIDE;
40 40
41 virtual base::WeakPtr<SyncableService> GetAutofillProfileSyncableService( 41 // Legacy datatypes that need to be converted to the SyncableService API.
42 WebDataService* web_data_service) const OVERRIDE;
43
44 virtual base::WeakPtr<SyncableService> GetAutocompleteSyncableService(
45 WebDataService* web_data_service) const OVERRIDE;
46
47 virtual SyncComponents CreateBookmarkSyncComponents( 42 virtual SyncComponents CreateBookmarkSyncComponents(
48 ProfileSyncService* profile_sync_service, 43 ProfileSyncService* profile_sync_service,
49 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 44 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
50
51 virtual SyncComponents CreateExtensionOrAppSettingSyncComponents(
52 // Either EXTENSION_SETTING or APP_SETTING.
53 syncable::ModelType type,
54 ProfileSyncService* profile_sync_service,
55 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
56
57 virtual SyncComponents CreateExtensionOrAppSyncComponents(
58 syncable::ModelType type, // Either EXTENSIONS or APPS.
59 ProfileSyncService* profile_sync_service,
60 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
61
62 virtual SyncComponents CreatePasswordSyncComponents( 45 virtual SyncComponents CreatePasswordSyncComponents(
63 ProfileSyncService* profile_sync_service, 46 ProfileSyncService* profile_sync_service,
64 PasswordStore* password_store, 47 PasswordStore* password_store,
65 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 48 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
66
67 virtual SyncComponents CreatePreferenceSyncComponents(
68 ProfileSyncService* profile_sync_service,
69 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
70
71 virtual SyncComponents CreateThemeSyncComponents( 49 virtual SyncComponents CreateThemeSyncComponents(
72 ProfileSyncService* profile_sync_service, 50 ProfileSyncService* profile_sync_service,
73 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 51 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
74
75 virtual SyncComponents CreateTypedUrlSyncComponents( 52 virtual SyncComponents CreateTypedUrlSyncComponents(
76 ProfileSyncService* profile_sync_service, 53 ProfileSyncService* profile_sync_service,
77 history::HistoryBackend* history_backend, 54 history::HistoryBackend* history_backend,
78 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 55 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
79
80 virtual SyncComponents CreateSessionSyncComponents( 56 virtual SyncComponents CreateSessionSyncComponents(
81 ProfileSyncService* profile_sync_service, 57 ProfileSyncService* profile_sync_service,
82 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 58 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
83 59
84 virtual SyncComponents CreateSearchEngineSyncComponents(
85 ProfileSyncService* profile_sync_service,
86 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
87
88 virtual SyncComponents CreateAppNotificationSyncComponents(
89 ProfileSyncService* profile_sync_service,
90 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
91
92 private: 60 private:
93 Profile* profile_; 61 Profile* profile_;
94 CommandLine* command_line_; 62 CommandLine* command_line_;
95 63
96 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 64 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
97 }; 65 };
98 66
99 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 67 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW
« 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