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

Unified Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header 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: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
index 2498ad85f9f67051536f77e7e4649b21dd04e5a4..0629f1caaa6cffe263f6ecb5ecec7e7ba53e577c 100644
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
@@ -298,7 +298,7 @@ class BluetoothLowEnergyEventRouter
const std::string& event_name,
const device::BluetoothUUID& uuid,
const std::string& characteristic_id,
- scoped_ptr<base::ListValue> args);
+ std::unique_ptr<base::ListValue> args);
// Returns a BluetoothGattService by its instance ID |instance_id|. Returns
// NULL, if the service cannot be found.
@@ -326,7 +326,7 @@ class BluetoothLowEnergyEventRouter
const std::string& extension_id,
const std::string& device_address,
const base::Closure& callback,
- scoped_ptr<device::BluetoothGattConnection> connection);
+ std::unique_ptr<device::BluetoothGattConnection> connection);
// Called by BluetoothGattCharacteristic and BluetoothGattDescriptor in
// case of an error during the read/write operations.
@@ -346,7 +346,7 @@ class BluetoothLowEnergyEventRouter
const std::string& extension_id,
const std::string& characteristic_id,
const base::Closure& callback,
- scoped_ptr<device::BluetoothGattNotifySession> session);
+ std::unique_ptr<device::BluetoothGattNotifySession> session);
// Called by BluetoothGattCharacteristic in response to a call to
// StartNotifySession.

Powered by Google App Engine
This is Rietveld 408576698