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

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

Issue 8596017: sync: rename ProfileSyncFactory to ProfileSyncComponentsFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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_COMPONENTS_FACTORY_IMPL_H__
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_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
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "chrome/browser/sync/profile_sync_factory.h" 13 #include "chrome/browser/sync/profile_sync_components_factory.h"
14 14
15 class CommandLine; 15 class CommandLine;
16 class Profile; 16 class Profile;
17 17
18 class ProfileSyncFactoryImpl : public ProfileSyncFactory { 18 class ProfileSyncComponentsFactoryImpl : public ProfileSyncComponentsFactory {
19 public: 19 public:
20 ProfileSyncFactoryImpl(Profile* profile, CommandLine* command_line); 20 ProfileSyncComponentsFactoryImpl(Profile* profile,
21 virtual ~ProfileSyncFactoryImpl() {} 21 CommandLine* command_line);
22 virtual ~ProfileSyncComponentsFactoryImpl() {}
22 23
23 // ProfileSyncFactory interface. 24 // ProfileSyncComponentsFactory interface.
24 virtual ProfileSyncService* CreateProfileSyncService( 25 virtual ProfileSyncService* CreateProfileSyncService(
25 const std::string& cros_user) OVERRIDE; 26 const std::string& cros_user) OVERRIDE;
26 27
27 virtual void RegisterDataTypes(ProfileSyncService* pss) OVERRIDE; 28 virtual void RegisterDataTypes(ProfileSyncService* pss) OVERRIDE;
28 29
29 virtual browser_sync::DataTypeManager* CreateDataTypeManager( 30 virtual browser_sync::DataTypeManager* CreateDataTypeManager(
30 browser_sync::SyncBackendHost* backend, 31 browser_sync::SyncBackendHost* backend,
31 const browser_sync::DataTypeController::TypeMap* controllers) OVERRIDE; 32 const browser_sync::DataTypeController::TypeMap* controllers) OVERRIDE;
32 33
33 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor( 34 virtual browser_sync::GenericChangeProcessor* CreateGenericChangeProcessor(
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE; 91 browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
91 92
92 virtual SyncComponents CreateAppNotificationSyncComponents( 93 virtual SyncComponents CreateAppNotificationSyncComponents(
93 ProfileSyncService* profile_sync_service, 94 ProfileSyncService* profile_sync_service,
94 browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE; 95 browser_sync::UnrecoverableErrorHandler* error_handler) OVERRIDE;
95 96
96 private: 97 private:
97 Profile* profile_; 98 Profile* profile_;
98 CommandLine* command_line_; 99 CommandLine* command_line_;
99 100
100 DISALLOW_COPY_AND_ASSIGN(ProfileSyncFactoryImpl); 101 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
101 }; 102 };
102 103
103 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_FACTORY_IMPL_H__ 104 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698