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

Unified Diff: components/proximity_auth/ble/fake_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
Index: components/proximity_auth/ble/fake_wire_message.h
diff --git a/components/proximity_auth/ble/fake_wire_message.h b/components/proximity_auth/ble/fake_wire_message.h
index f0f2325456d390d31eb129456da9657e64c8434b..e18185b7a7ac217e041c10ec116629b8f9a933a4 100644
--- a/components/proximity_auth/ble/fake_wire_message.h
+++ b/components/proximity_auth/ble/fake_wire_message.h
@@ -5,11 +5,10 @@
#ifndef COMPONENTS_PROXIMITY_AUTH_FAKE_WIRE_MESSAGE_H
#define COMPONENTS_PROXIMITY_AUTH_FAKE_WIRE_MESSAGE_H
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-
#include "components/proximity_auth/wire_message.h"
namespace proximity_auth {
@@ -18,7 +17,7 @@ class FakeWireMessage : public WireMessage {
public:
FakeWireMessage(const std::string& payload);
- static scoped_ptr<FakeWireMessage> Deserialize(
+ static std::unique_ptr<FakeWireMessage> Deserialize(
const std::string& serialized_message,
bool* is_incomplete_message);

Powered by Google App Engine
This is Rietveld 408576698