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

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: Rebase and fix conflicts 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
« no previous file with comments | « sync/internal_api/public/simple_metadata_change_list.h ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3f080e498dadadd59f23fc85ef2c31c9d95ebe28..243883bc9a2d364c8e0087c331175a33400011a2 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 {
@@ -30,7 +31,7 @@ class SYNC_EXPORT SyncContext {
// from the sync thread.
virtual void ConnectType(
syncer::ModelType type,
- scoped_ptr<ActivationContext> activation_context) = 0;
+ std::unique_ptr<ActivationContext> activation_context) = 0;
// Disconnects the worker from |type|'s processor and stop syncing the type.
//
« no previous file with comments | « sync/internal_api/public/simple_metadata_change_list.h ('k') | sync/internal_api/public/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698