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

Side by Side Diff: chrome/browser/sync/profile_sync_components_factory_impl.h

Issue 247433004: sync: remove CreateSharedChangeProcessor from ProfileSyncComponentsFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove SCPFactory Created 6 years, 8 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 const std::string& name, 44 const std::string& name,
45 Profile* profile, 45 Profile* profile,
46 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) OVERRIDE; 46 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) OVERRIDE;
47 47
48 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor( 48 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor(
49 ProfileSyncService* profile_sync_service, 49 ProfileSyncService* profile_sync_service,
50 browser_sync::DataTypeErrorHandler* error_handler, 50 browser_sync::DataTypeErrorHandler* error_handler,
51 const base::WeakPtr<syncer::SyncableService>& local_service, 51 const base::WeakPtr<syncer::SyncableService>& local_service,
52 const base::WeakPtr<syncer::SyncMergeResult>& merge_result) OVERRIDE; 52 const base::WeakPtr<syncer::SyncMergeResult>& merge_result) OVERRIDE;
53 53
54 virtual browser_sync::SharedChangeProcessor*
55 CreateSharedChangeProcessor() OVERRIDE;
56
57 virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType( 54 virtual base::WeakPtr<syncer::SyncableService> GetSyncableServiceForType(
58 syncer::ModelType type) OVERRIDE; 55 syncer::ModelType type) OVERRIDE;
59 virtual scoped_ptr<syncer::AttachmentStore> 56 virtual scoped_ptr<syncer::AttachmentStore>
60 CreateCustomAttachmentStoreForType(syncer::ModelType type) OVERRIDE; 57 CreateCustomAttachmentStoreForType(syncer::ModelType type) OVERRIDE;
61 58
62 // Legacy datatypes that need to be converted to the SyncableService API. 59 // Legacy datatypes that need to be converted to the SyncableService API.
63 virtual SyncComponents CreateBookmarkSyncComponents( 60 virtual SyncComponents CreateBookmarkSyncComponents(
64 ProfileSyncService* profile_sync_service, 61 ProfileSyncService* profile_sync_service,
65 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 62 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
66 virtual SyncComponents CreateTypedUrlSyncComponents( 63 virtual SyncComponents CreateTypedUrlSyncComponents(
(...skipping 14 matching lines...) Expand all
81 // Set on the UI thread (since extensions::ExtensionSystemFactory is 78 // Set on the UI thread (since extensions::ExtensionSystemFactory is
82 // non-threadsafe); accessed on both the UI and FILE threads in 79 // non-threadsafe); accessed on both the UI and FILE threads in
83 // GetSyncableServiceForType. 80 // GetSyncableServiceForType.
84 extensions::ExtensionSystem* extension_system_; 81 extensions::ExtensionSystem* extension_system_;
85 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; 82 scoped_refptr<autofill::AutofillWebDataService> web_data_service_;
86 83
87 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 84 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
88 }; 85 };
89 86
90 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 87 #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