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

Unified Diff: components/proximity_auth/bluetooth_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/bluetooth_connection.h
diff --git a/components/proximity_auth/bluetooth_connection.h b/components/proximity_auth/bluetooth_connection.h
index fc9d7aa8508d71619922f484e7bada77a824cd31..292557934c57a3f94d6b54907df98d6162f6a6af 100644
--- a/components/proximity_auth/bluetooth_connection.h
+++ b/components/proximity_auth/bluetooth_connection.h
@@ -42,7 +42,7 @@ class BluetoothConnection : public Connection,
protected:
// Connection:
- void SendMessageImpl(scoped_ptr<WireMessage> message) override;
+ void SendMessageImpl(std::unique_ptr<WireMessage> message) override;
// BluetoothAdapter::Observer:
void DeviceChanged(device::BluetoothAdapter* adapter,
@@ -78,7 +78,7 @@ class BluetoothConnection : public Connection,
// The message that was sent over the backing |socket_|. NULL iff there is no
// send operation in progress.
- scoped_ptr<WireMessage> pending_message_;
+ std::unique_ptr<WireMessage> pending_message_;
base::WeakPtrFactory<BluetoothConnection> weak_ptr_factory_;
« no previous file with comments | « components/proximity_auth/ble/fake_wire_message.cc ('k') | components/proximity_auth/bluetooth_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698