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

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: Rerererebase 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 25 matching lines...) Expand all
36 const browser_sync::DataTypeController::TypeMap* controllers, 36 const browser_sync::DataTypeController::TypeMap* controllers,
37 const browser_sync::DataTypeEncryptionHandler* encryption_handler, 37 const browser_sync::DataTypeEncryptionHandler* encryption_handler,
38 browser_sync::SyncBackendHost* backend, 38 browser_sync::SyncBackendHost* backend,
39 browser_sync::DataTypeManagerObserver* observer, 39 browser_sync::DataTypeManagerObserver* observer,
40 browser_sync::FailedDataTypesHandler* failed_data_types_handler) 40 browser_sync::FailedDataTypesHandler* failed_data_types_handler)
41 OVERRIDE; 41 OVERRIDE;
42 42
43 virtual browser_sync::SyncBackendHost* CreateSyncBackendHost( 43 virtual browser_sync::SyncBackendHost* CreateSyncBackendHost(
44 const std::string& name, 44 const std::string& name,
45 Profile* profile, 45 Profile* profile,
46 const base::WeakPtr<browser_sync::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* 54 virtual browser_sync::SharedChangeProcessor*
55 CreateSharedChangeProcessor() OVERRIDE; 55 CreateSharedChangeProcessor() OVERRIDE;
56 56
(...skipping 25 matching lines...) Expand all
82 // Set on the UI thread (since extensions::ExtensionSystemFactory is 82 // Set on the UI thread (since extensions::ExtensionSystemFactory is
83 // non-threadsafe); accessed on both the UI and FILE threads in 83 // non-threadsafe); accessed on both the UI and FILE threads in
84 // GetSyncableServiceForType. 84 // GetSyncableServiceForType.
85 extensions::ExtensionSystem* extension_system_; 85 extensions::ExtensionSystem* extension_system_;
86 scoped_refptr<autofill::AutofillWebDataService> web_data_service_; 86 scoped_refptr<autofill::AutofillWebDataService> web_data_service_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 88 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
89 }; 89 };
90 90
91 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 91 #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