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

Unified Diff: sync/internal_api/test/null_sync_context_proxy.cc

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/test/null_sync_context_proxy.cc
diff --git a/sync/internal_api/test/null_sync_context_proxy.cc b/sync/internal_api/test/null_sync_context_proxy.cc
index 3695b1cfdb034235b4e79486a650850990387c66..8bed16b2e44c1a740e26832f46b9213d41e42a98 100644
--- a/sync/internal_api/test/null_sync_context_proxy.cc
+++ b/sync/internal_api/test/null_sync_context_proxy.cc
@@ -16,7 +16,7 @@ NullSyncContextProxy::~NullSyncContextProxy() {
void NullSyncContextProxy::ConnectTypeToSync(
syncer::ModelType type,
- scoped_ptr<ActivationContext> activation_context) {
+ std::unique_ptr<ActivationContext> activation_context) {
NOTREACHED() << "NullSyncContextProxy is not meant to be used";
}
@@ -24,8 +24,8 @@ void NullSyncContextProxy::Disconnect(syncer::ModelType type) {
NOTREACHED() << "NullSyncContextProxy is not meant to be used";
}
-scoped_ptr<SyncContextProxy> NullSyncContextProxy::Clone() const {
- return scoped_ptr<SyncContextProxy>(new NullSyncContextProxy());
+std::unique_ptr<SyncContextProxy> NullSyncContextProxy::Clone() const {
+ return std::unique_ptr<SyncContextProxy>(new NullSyncContextProxy());
}
} // namespace syncer_v2

Powered by Google App Engine
This is Rietveld 408576698