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

Side by Side Diff: components/browser_sync/profile_sync_components_factory_impl.h

Issue 2533083002: [Sync] SyncEngine refactor part 1: interfaces. (Closed)
Patch Set: Rebase. Created 4 years 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
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 COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 5 #ifndef COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
6 #define COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 6 #define COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // SyncApiComponentFactory implementation: 63 // SyncApiComponentFactory implementation:
64 void RegisterDataTypes( 64 void RegisterDataTypes(
65 syncer::SyncService* sync_service, 65 syncer::SyncService* sync_service,
66 const RegisterDataTypesMethod& register_platform_types_method) override; 66 const RegisterDataTypesMethod& register_platform_types_method) override;
67 syncer::DataTypeManager* CreateDataTypeManager( 67 syncer::DataTypeManager* CreateDataTypeManager(
68 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>& 68 const syncer::WeakHandle<syncer::DataTypeDebugInfoListener>&
69 debug_info_listener, 69 debug_info_listener,
70 const syncer::DataTypeController::TypeMap* controllers, 70 const syncer::DataTypeController::TypeMap* controllers,
71 const syncer::DataTypeEncryptionHandler* encryption_handler, 71 const syncer::DataTypeEncryptionHandler* encryption_handler,
72 syncer::SyncBackendHost* backend, 72 syncer::SyncEngine* engine,
73 syncer::DataTypeManagerObserver* observer) override; 73 syncer::DataTypeManagerObserver* observer) override;
74 syncer::SyncBackendHost* CreateSyncBackendHost( 74 syncer::SyncEngine* CreateSyncEngine(
75 const std::string& name, 75 const std::string& name,
76 invalidation::InvalidationService* invalidator, 76 invalidation::InvalidationService* invalidator,
77 const base::WeakPtr<syncer::SyncPrefs>& sync_prefs, 77 const base::WeakPtr<syncer::SyncPrefs>& sync_prefs,
78 const base::FilePath& sync_folder) override; 78 const base::FilePath& sync_folder) override;
79 std::unique_ptr<syncer::LocalDeviceInfoProvider> 79 std::unique_ptr<syncer::LocalDeviceInfoProvider>
80 CreateLocalDeviceInfoProvider() override; 80 CreateLocalDeviceInfoProvider() override;
81 std::unique_ptr<syncer::AttachmentService> CreateAttachmentService( 81 std::unique_ptr<syncer::AttachmentService> CreateAttachmentService(
82 std::unique_ptr<syncer::AttachmentStoreForSync> attachment_store, 82 std::unique_ptr<syncer::AttachmentStoreForSync> attachment_store,
83 const syncer::UserShare& user_share, 83 const syncer::UserShare& user_share,
84 const std::string& store_birthday, 84 const std::string& store_birthday,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 // Whether to override PREFERENCES to use USS. 124 // Whether to override PREFERENCES to use USS.
125 static bool override_prefs_controller_to_uss_for_test_; 125 static bool override_prefs_controller_to_uss_for_test_;
126 126
127 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl); 127 DISALLOW_COPY_AND_ASSIGN(ProfileSyncComponentsFactoryImpl);
128 }; 128 };
129 129
130 } // namespace browser_sync 130 } // namespace browser_sync
131 131
132 #endif // COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__ 132 #endif // COMPONENTS_BROWSER_SYNC_PROFILE_SYNC_COMPONENTS_FACTORY_IMPL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698