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

Unified Diff: components/pairing/bluetooth_host_pairing_controller.h

Issue 1921923002: Convert //components/[o-t]* from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/pairing/bluetooth_controller_pairing_controller.cc ('k') | components/pairing/proto_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/pairing/bluetooth_host_pairing_controller.h
diff --git a/components/pairing/bluetooth_host_pairing_controller.h b/components/pairing/bluetooth_host_pairing_controller.h
index 28311521510ebf48406965df136f16fd9edc3b99..e5ebac84a6e3d322cdb275e921907ffc59e4860c 100644
--- a/components/pairing/bluetooth_host_pairing_controller.h
+++ b/components/pairing/bluetooth_host_pairing_controller.h
@@ -7,6 +7,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
@@ -114,7 +116,7 @@ class BluetoothHostPairingController
scoped_refptr<device::BluetoothAdapter> adapter_;
scoped_refptr<device::BluetoothSocket> service_socket_;
scoped_refptr<device::BluetoothSocket> controller_socket_;
- scoped_ptr<ProtoDecoder> proto_decoder_;
+ std::unique_ptr<ProtoDecoder> proto_decoder_;
base::ThreadChecker thread_checker_;
base::ObserverList<Observer> observers_;
« no previous file with comments | « components/pairing/bluetooth_controller_pairing_controller.cc ('k') | components/pairing/proto_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698