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

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

Issue 8275018: Reland r105404 with compile warning fixed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FACTORY_IMPL_H__ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 12 matching lines...) Expand all
23 // ProfileSyncFactory interface. 23 // ProfileSyncFactory interface.
24 virtual ProfileSyncService* CreateProfileSyncService( 24 virtual ProfileSyncService* CreateProfileSyncService(
25 const std::string& cros_user); 25 const std::string& cros_user);
26 26
27 virtual void RegisterDataTypes(ProfileSyncService* pss); 27 virtual void RegisterDataTypes(ProfileSyncService* pss);
28 28
29 virtual browser_sync::DataTypeManager* CreateDataTypeManager( 29 virtual browser_sync::DataTypeManager* CreateDataTypeManager(
30 browser_sync::SyncBackendHost* backend, 30 browser_sync::SyncBackendHost* backend,
31 const browser_sync::DataTypeController::TypeMap* controllers); 31 const browser_sync::DataTypeController::TypeMap* controllers);
32 32
33 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor(
34 ProfileSyncService* profile_sync_service,
35 browser_sync::UnrecoverableErrorHandler* error_handler,
36 const base::WeakPtr<SyncableService>& local_service);
37
38 virtual browser_sync::SharedChangeProcessor* CreateSharedChangeProcessor();
39
33 virtual SyncComponents CreateAppSyncComponents( 40 virtual SyncComponents CreateAppSyncComponents(
34 ProfileSyncService* profile_sync_service, 41 ProfileSyncService* profile_sync_service,
35 browser_sync::UnrecoverableErrorHandler* error_handler); 42 browser_sync::UnrecoverableErrorHandler* error_handler);
36 43
37 virtual SyncComponents CreateAutofillSyncComponents( 44 virtual SyncComponents CreateAutofillSyncComponents(
38 ProfileSyncService* profile_sync_service, 45 ProfileSyncService* profile_sync_service,
39 WebDatabase* web_database, 46 WebDatabase* web_database,
40 browser_sync::UnrecoverableErrorHandler* error_handler); 47 browser_sync::UnrecoverableErrorHandler* error_handler);
41 48
42 virtual SyncComponents CreateAutofillProfileSyncComponents( 49 virtual base::WeakPtr<SyncableService> GetAutofillProfileSyncableService(
43 ProfileSyncService* profile_sync_service, 50 WebDataService* web_data_service) const;
44 WebDataService* web_data_service,
45 browser_sync::UnrecoverableErrorHandler* error_handler);
46 51
47 virtual SyncComponents CreateBookmarkSyncComponents( 52 virtual SyncComponents CreateBookmarkSyncComponents(
48 ProfileSyncService* profile_sync_service, 53 ProfileSyncService* profile_sync_service,
49 browser_sync::UnrecoverableErrorHandler* error_handler); 54 browser_sync::UnrecoverableErrorHandler* error_handler);
50 55
51 virtual SyncComponents CreateExtensionSettingSyncComponents( 56 virtual SyncComponents CreateExtensionSettingSyncComponents(
52 ExtensionSettingsBackend* extension_settings_backend, 57 ExtensionSettingsBackend* extension_settings_backend,
53 ProfileSyncService* profile_sync_service, 58 ProfileSyncService* profile_sync_service,
54 browser_sync::UnrecoverableErrorHandler* error_handler); 59 browser_sync::UnrecoverableErrorHandler* error_handler);
55 60
(...skipping 28 matching lines...) Expand all
84 browser_sync::UnrecoverableErrorHandler* error_handler); 89 browser_sync::UnrecoverableErrorHandler* error_handler);
85 90
86 private: 91 private:
87 Profile* profile_; 92 Profile* profile_;
88 CommandLine* command_line_; 93 CommandLine* command_line_;
89 94
90 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl); 95 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl);
91 }; 96 };
92 97
93 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ 98 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_factory.h ('k') | chrome/browser/sync/profile_sync_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698