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

Unified Diff: extensions/browser/api/bluetooth/bluetooth_event_router.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/bluetooth_event_router.h
diff --git a/extensions/browser/api/bluetooth/bluetooth_event_router.h b/extensions/browser/api/bluetooth/bluetooth_event_router.h
index 6afaac0d8d581aa25a46d67cdbabde96d832c144..4d2fb55fdfaf72b4fc72b6783970c693e1d3bbf3 100644
--- a/extensions/browser/api/bluetooth/bluetooth_event_router.h
+++ b/extensions/browser/api/bluetooth/bluetooth_event_router.h
@@ -74,7 +74,7 @@ class BluetoothEventRouter : public device::BluetoothAdapter::Observer,
// Callback is called, if the filter was successfully updated.
// |error_callback| is called, if filter update failed.
void SetDiscoveryFilter(
- scoped_ptr<device::BluetoothDiscoveryFilter> discovery_filter,
+ std::unique_ptr<device::BluetoothDiscoveryFilter> discovery_filter,
device::BluetoothAdapter* adapter,
const std::string& extension_id,
const base::Closure& callback,
@@ -151,7 +151,7 @@ class BluetoothEventRouter : public device::BluetoothAdapter::Observer,
void OnStartDiscoverySession(
const std::string& extension_id,
const base::Closure& callback,
- scoped_ptr<device::BluetoothDiscoverySession> discovery_session);
+ std::unique_ptr<device::BluetoothDiscoverySession> discovery_session);
void OnSetDiscoveryFilter(const std::string& extension_id,
const base::Closure& callback);
« no previous file with comments | « extensions/browser/api/bluetooth/bluetooth_apitest.cc ('k') | extensions/browser/api/bluetooth/bluetooth_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698