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

Unified Diff: components/proximity_auth/wire_message.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
« no previous file with comments | « components/proximity_auth/webui/reachable_phone_flow.h ('k') | components/proximity_auth/wire_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/wire_message.h
diff --git a/components/proximity_auth/wire_message.h b/components/proximity_auth/wire_message.h
index c023c2181d58b3a233d2e5ca260993e5d5dd0d49..4f03996c2580b726d7f72f3f4eb477fa6c366cb0 100644
--- a/components/proximity_auth/wire_message.h
+++ b/components/proximity_auth/wire_message.h
@@ -5,10 +5,10 @@
#ifndef COMPONENTS_PROXIMITY_AUTH_WIRE_MESSAGE_H
#define COMPONENTS_PROXIMITY_AUTH_WIRE_MESSAGE_H
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace proximity_auth {
@@ -26,7 +26,7 @@ class WireMessage {
// message is malformed. Sets |is_incomplete_message| to true if the message
// does not have enough data to parse the header, or if the message length
// encoded in the message header exceeds the size of the |serialized_message|.
- static scoped_ptr<WireMessage> Deserialize(
+ static std::unique_ptr<WireMessage> Deserialize(
const std::string& serialized_message,
bool* is_incomplete_message);
« no previous file with comments | « components/proximity_auth/webui/reachable_phone_flow.h ('k') | components/proximity_auth/wire_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698