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

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

Issue 10662035: [Sync] Put everything in sync/api into csync namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 8 years, 5 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 14 matching lines...) Expand all
25 25
26 virtual void RegisterDataTypes(ProfileSyncService* pss) OVERRIDE; 26 virtual void RegisterDataTypes(ProfileSyncService* pss) OVERRIDE;
27 27
28 virtual browser_sync::DataTypeManager* CreateDataTypeManager( 28 virtual browser_sync::DataTypeManager* CreateDataTypeManager(
29 browser_sync::SyncBackendHost* backend, 29 browser_sync::SyncBackendHost* backend,
30 const browser_sync::DataTypeController::TypeMap* controllers) OVERRIDE; 30 const browser_sync::DataTypeController::TypeMap* controllers) OVERRIDE;
31 31
32 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor( 32 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor(
33 ProfileSyncService* profile_sync_service, 33 ProfileSyncService* profile_sync_service,
34 browser_sync::DataTypeErrorHandler* error_handler, 34 browser_sync::DataTypeErrorHandler* error_handler,
35 const base::WeakPtr<SyncableService>& local_service) OVERRIDE; 35 const base::WeakPtr<csync::SyncableService>& local_service) OVERRIDE;
36 36
37 virtual browser_sync::SharedChangeProcessor* 37 virtual browser_sync::SharedChangeProcessor*
38 CreateSharedChangeProcessor() OVERRIDE; 38 CreateSharedChangeProcessor() OVERRIDE;
39 39
40 virtual base::WeakPtr<SyncableService> GetSyncableServiceForType( 40 virtual base::WeakPtr<csync::SyncableService> GetSyncableServiceForType(
41 syncable::ModelType type) OVERRIDE; 41 syncable::ModelType type) OVERRIDE;
42 42
43 // Legacy datatypes that need to be converted to the SyncableService API. 43 // Legacy datatypes that need to be converted to the SyncableService API.
44 virtual SyncComponents CreateBookmarkSyncComponents( 44 virtual SyncComponents CreateBookmarkSyncComponents(
45 ProfileSyncService* profile_sync_service, 45 ProfileSyncService* profile_sync_service,
46 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 46 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
47 virtual SyncComponents CreatePasswordSyncComponents( 47 virtual SyncComponents CreatePasswordSyncComponents(
48 ProfileSyncService* profile_sync_service, 48 ProfileSyncService* profile_sync_service,
49 PasswordStore* password_store, 49 PasswordStore* password_store,
50 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE; 50 browser_sync::DataTypeErrorHandler* error_handler) OVERRIDE;
(...skipping 15 matching lines...) Expand all
66 CommandLine* command_line_; 66 CommandLine* command_line_;
67 // Set on the UI thread (since ExtensionSystemFactory is non-threadsafe); 67 // Set on the UI thread (since ExtensionSystemFactory is non-threadsafe);
68 // accessed on both the UI and FILE threads in GetSyncableServiceForType. 68 // accessed on both the UI and FILE threads in GetSyncableServiceForType.
69 ExtensionSystem* extension_system_; 69 ExtensionSystem* extension_system_;
70 scoped_refptr<WebDataService> web_data_service_; 70 scoped_refptr<WebDataService> web_data_service_;
71 71
72 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 72 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
73 }; 73 };
74 74
75 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 75 #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