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

Unified Diff: sync/internal_api/public/internal_components_factory_impl.h

Issue 1866243002: Convert //sync from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: sync/internal_api/public/internal_components_factory_impl.h
diff --git a/sync/internal_api/public/internal_components_factory_impl.h b/sync/internal_api/public/internal_components_factory_impl.h
index ea1057d5fb4f31ae9e203873920e401ae54d9379..06365c0ab930d3f4cb069a22cbfe736f49d124e3 100644
--- a/sync/internal_api/public/internal_components_factory_impl.h
+++ b/sync/internal_api/public/internal_components_factory_impl.h
@@ -23,12 +23,12 @@ class SYNC_EXPORT InternalComponentsFactoryImpl
explicit InternalComponentsFactoryImpl(const Switches& switches);
~InternalComponentsFactoryImpl() override;
- scoped_ptr<SyncScheduler> BuildScheduler(
+ std::unique_ptr<SyncScheduler> BuildScheduler(
const std::string& name,
sessions::SyncSessionContext* context,
syncer::CancelationSignal* cancelation_signal) override;
- scoped_ptr<sessions::SyncSessionContext> BuildContext(
+ std::unique_ptr<sessions::SyncSessionContext> BuildContext(
ServerConnectionManager* connection_manager,
syncable::Directory* directory,
ExtensionsActivity* extensions_activity,
@@ -37,7 +37,7 @@ class SYNC_EXPORT InternalComponentsFactoryImpl
ModelTypeRegistry* model_type_registry,
const std::string& invalidator_client_id) override;
- scoped_ptr<syncable::DirectoryBackingStore> BuildDirectoryBackingStore(
+ std::unique_ptr<syncable::DirectoryBackingStore> BuildDirectoryBackingStore(
StorageOption storage,
const std::string& dir_name,
const base::FilePath& backing_filepath) override;

Powered by Google App Engine
This is Rietveld 408576698