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

Unified Diff: components/sync_driver/local_device_info_provider.h

Issue 1907683003: Convert //components/sync_driver from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix, address feedback 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: components/sync_driver/local_device_info_provider.h
diff --git a/components/sync_driver/local_device_info_provider.h b/components/sync_driver/local_device_info_provider.h
index a1929649e39093167cf9a11fa870105b08daa904..69ac03a3562ef19adc2accaedf636674240d4812 100644
--- a/components/sync_driver/local_device_info_provider.h
+++ b/components/sync_driver/local_device_info_provider.h
@@ -5,10 +5,10 @@
#ifndef COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_H_
#define COMPONENTS_SYNC_DRIVER_LOCAL_DEVICE_INFO_PROVIDER_H_
+#include <memory>
#include <string>
#include "base/callback_list.h"
-#include "base/memory/scoped_ptr.h"
namespace base {
class TaskRunner;
@@ -53,7 +53,7 @@ class LocalDeviceInfoProvider {
// The callback will remain registered until the
// returned Subscription is destroyed, which must occur before the
// CallbackList is destroyed.
- virtual scoped_ptr<Subscription> RegisterOnInitializedCallback(
+ virtual std::unique_ptr<Subscription> RegisterOnInitializedCallback(
const base::Closure& callback) = 0;
};
« no previous file with comments | « components/sync_driver/glue/ui_model_worker_unittest.cc ('k') | components/sync_driver/local_device_info_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698