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

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

Issue 195873020: [Sync] Move SyncPrefs into sync_driver component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 23 matching lines...) Expand all
34 const browser_sync::DataTypeController::TypeMap* controllers, 34 const browser_sync::DataTypeController::TypeMap* controllers,
35 const browser_sync::DataTypeEncryptionHandler* encryption_handler, 35 const browser_sync::DataTypeEncryptionHandler* encryption_handler,
36 browser_sync::SyncBackendHost* backend, 36 browser_sync::SyncBackendHost* backend,
37 browser_sync::DataTypeManagerObserver* observer, 37 browser_sync::DataTypeManagerObserver* observer,
38 browser_sync::FailedDataTypesHandler* failed_data_types_handler) 38 browser_sync::FailedDataTypesHandler* failed_data_types_handler)
39 OVERRIDE; 39 OVERRIDE;
40 40
41 virtual browser_sync::SyncBackendHost* CreateSyncBackendHost( 41 virtual browser_sync::SyncBackendHost* CreateSyncBackendHost(
42 const std::string& name, 42 const std::string& name,
43 Profile* profile, 43 Profile* profile,
44 const base::WeakPtr<browser_sync::SyncPrefs>& sync_prefs) OVERRIDE; 44 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) OVERRIDE;
45 45
46 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor( 46 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor(
47 ProfileSyncService* profile_sync_service, 47 ProfileSyncService* profile_sync_service,
48 browser_sync::DataTypeErrorHandler* error_handler, 48 browser_sync::DataTypeErrorHandler* error_handler,
49 const base::WeakPtr<syncer::SyncableService>& local_service, 49 const base::WeakPtr<syncer::SyncableService>& local_service,
50 const base::WeakPtr<syncer::SyncMergeResult>& merge_result) OVERRIDE; 50 const base::WeakPtr<syncer::SyncMergeResult>& merge_result) OVERRIDE;
51 51
52 virtual browser_sync::SharedChangeProcessor* 52 virtual browser_sync::SharedChangeProcessor*
53 CreateSharedChangeProcessor() OVERRIDE; 53 CreateSharedChangeProcessor() OVERRIDE;
54 54
(...skipping 23 matching lines...) Expand all
78 // Set on the UI thread (since extensions::ExtensionSystemFactory is 78 // Set on the UI thread (since extensions::ExtensionSystemFactory is
79 // non-threadsafe); accessed on both the UI and FILE threads in 79 // non-threadsafe); accessed on both the UI and FILE threads in
80 // GetSyncableServiceForType. 80 // GetSyncableServiceForType.
81 extensions::ExtensionSystem* extension_system_; 81 extensions::ExtensionSystem* extension_system_;
82 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; 82 scoped_refptr<autofill::AutofillWebDataService> web_data_service_;
83 83
84 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 84 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
85 }; 85 };
86 86
87 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 87 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698