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

Unified Diff: sync/internal_api/public/sync_context.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/sync_context.h
diff --git a/sync/internal_api/public/sync_context.h b/sync/internal_api/public/sync_context.h
index 0d522f91af3c6f1647aa5df252de5b1bf4919450..907ed507d34512b9e0cad284450f22711ab4a016 100644
--- a/sync/internal_api/public/sync_context.h
+++ b/sync/internal_api/public/sync_context.h
@@ -5,7 +5,8 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_SYNC_CONTEXT_H_
#define SYNC_INTERNAL_API_PUBLIC_SYNC_CONTEXT_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "sync/internal_api/public/base/model_type.h"
namespace syncer_v2 {
@@ -29,7 +30,7 @@ class SYNC_EXPORT SyncContext {
// type's thread.
virtual void ConnectSyncTypeToWorker(
syncer::ModelType type,
- scoped_ptr<ActivationContext> activation_context) = 0;
+ std::unique_ptr<ActivationContext> activation_context) = 0;
// Disconnects the syncer from the model and stops syncing the type.
//

Powered by Google App Engine
This is Rietveld 408576698