| Index: sync/internal_api/public/internal_components_factory.h
|
| diff --git a/sync/internal_api/public/internal_components_factory.h b/sync/internal_api/public/internal_components_factory.h
|
| index fee9becdf97b2cc654be08de32c3af541ef625db..461c2ece3ee1db71de93f832e0febe1c8e7af73a 100644
|
| --- a/sync/internal_api/public/internal_components_factory.h
|
| +++ b/sync/internal_api/public/internal_components_factory.h
|
| @@ -86,12 +86,12 @@ class SYNC_EXPORT InternalComponentsFactory {
|
|
|
| virtual ~InternalComponentsFactory() {}
|
|
|
| - virtual scoped_ptr<SyncScheduler> BuildScheduler(
|
| + virtual std::unique_ptr<SyncScheduler> BuildScheduler(
|
| const std::string& name,
|
| sessions::SyncSessionContext* context,
|
| CancelationSignal* cancelation_signal) = 0;
|
|
|
| - virtual scoped_ptr<sessions::SyncSessionContext> BuildContext(
|
| + virtual std::unique_ptr<sessions::SyncSessionContext> BuildContext(
|
| ServerConnectionManager* connection_manager,
|
| syncable::Directory* directory,
|
| ExtensionsActivity* extensions_activity,
|
| @@ -100,11 +100,10 @@ class SYNC_EXPORT InternalComponentsFactory {
|
| ModelTypeRegistry* model_type_registry,
|
| const std::string& invalidator_client_id) = 0;
|
|
|
| - virtual scoped_ptr<syncable::DirectoryBackingStore>
|
| - BuildDirectoryBackingStore(
|
| - StorageOption storage,
|
| - const std::string& dir_name,
|
| - const base::FilePath& backing_filepath) = 0;
|
| + virtual std::unique_ptr<syncable::DirectoryBackingStore>
|
| + BuildDirectoryBackingStore(StorageOption storage,
|
| + const std::string& dir_name,
|
| + const base::FilePath& backing_filepath) = 0;
|
|
|
| // Returns the Switches struct that this object is using as configuration, if
|
| // the implementation is making use of one.
|
|
|