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

Unified Diff: components/proximity_auth/fake_connection.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/fake_connection.h
diff --git a/components/proximity_auth/fake_connection.h b/components/proximity_auth/fake_connection.h
index 4e873c0e3ae015de14e8041265b4b08c2a3710b7..c525d4fb36972163f0d1027d3cacdb8b22307246 100644
--- a/components/proximity_auth/fake_connection.h
+++ b/components/proximity_auth/fake_connection.h
@@ -34,13 +34,13 @@ class FakeConnection : public Connection {
private:
// Connection:
- void SendMessageImpl(scoped_ptr<WireMessage> message) override;
- scoped_ptr<WireMessage> DeserializeWireMessage(
+ void SendMessageImpl(std::unique_ptr<WireMessage> message) override;
+ std::unique_ptr<WireMessage> DeserializeWireMessage(
bool* is_incomplete_message) override;
// The message currently being sent. Only set between a call to
// SendMessageImpl() and FinishSendingMessageWithSuccess().
- scoped_ptr<WireMessage> current_message_;
+ std::unique_ptr<WireMessage> current_message_;
// The payload that should be returned when DeserializeWireMessage() is
// called.
« no previous file with comments | « components/proximity_auth/device_to_device_secure_context_unittest.cc ('k') | components/proximity_auth/fake_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698