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

Unified Diff: components/proximity_auth/remote_status_update.h

Issue 1912433002: Convert //components/proximity_auth from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits 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/proximity_auth/remote_status_update.h
diff --git a/components/proximity_auth/remote_status_update.h b/components/proximity_auth/remote_status_update.h
index 261ae7ae990934b3efaec2dadcb041123e11d9ee..0d699310b5fe6314f884a17170da41e5944e81a0 100644
--- a/components/proximity_auth/remote_status_update.h
+++ b/components/proximity_auth/remote_status_update.h
@@ -5,7 +5,7 @@
#ifndef COMPONENTS_PROXIMITY_AUTH_REMOTE_STATUS_UPDATE_H
#define COMPONENTS_PROXIMITY_AUTH_REMOTE_STATUS_UPDATE_H
-#include "base/memory/scoped_ptr.h"
+#include <memory>
namespace base {
class DictionaryValue;
@@ -40,7 +40,7 @@ enum TrustAgentState {
struct RemoteStatusUpdate {
// Parses a dictionary value into a RemoteStatusUpdate. Returns a null pointer
// if the serialized dictionary value is not valid.
- static scoped_ptr<RemoteStatusUpdate> Deserialize(
+ static std::unique_ptr<RemoteStatusUpdate> Deserialize(
const base::DictionaryValue& serialized_value);
UserPresence user_presence;
« no previous file with comments | « components/proximity_auth/remote_device_loader_unittest.cc ('k') | components/proximity_auth/remote_status_update.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698