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

Unified Diff: extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h

Issue 1902873002: Convert //extensions/browser/api 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
Index: extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h
diff --git a/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h b/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h
index 40304fb0b0deb18d66b610c460bf1cdacab4ccfb..dcc87b2dc21169f6d9c1958589dcfc66c3abe661 100644
--- a/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h
+++ b/extensions/browser/api/bluetooth_socket/bluetooth_api_socket.h
@@ -138,7 +138,7 @@ class BluetoothApiSocket : public ApiResource {
device::BluetoothUUID uuid_;
// Application-defined string - see bluetooth.idl.
- scoped_ptr<std::string> name_;
+ std::unique_ptr<std::string> name_;
// Flag indicating whether the socket is left open when the application is
// suspended - see bluetooth.idl.

Powered by Google App Engine
This is Rietveld 408576698