Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h |
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h |
index 47e2b862069be3c2a6f4a34c2c55c0223005a03c..b5a4cae5f0e3ee93c91910e40a196844dc87e71e 100644 |
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h |
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h |
@@ -5,10 +5,10 @@ |
#ifndef CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_LOW_ENERGY_NOTIFY_SESSION_H_ |
#define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_LOW_ENERGY_NOTIFY_SESSION_H_ |
+#include <memory> |
#include <string> |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "device/bluetooth/bluetooth_gatt_notify_session.h" |
#include "extensions/browser/api/api_resource.h" |
#include "extensions/browser/api/api_resource_manager.h" |
@@ -21,7 +21,7 @@ class BluetoothLowEnergyNotifySession : public ApiResource { |
explicit BluetoothLowEnergyNotifySession( |
bool persistent, |
const std::string& owner_extension_id, |
- scoped_ptr<device::BluetoothGattNotifySession> session); |
+ std::unique_ptr<device::BluetoothGattNotifySession> session); |
~BluetoothLowEnergyNotifySession() override; |
// Returns a pointer to the underlying session object. |
@@ -45,7 +45,7 @@ class BluetoothLowEnergyNotifySession : public ApiResource { |
// The session is owned by this instance and will automatically stop when |
// deleted. |
- scoped_ptr<device::BluetoothGattNotifySession> session_; |
+ std::unique_ptr<device::BluetoothGattNotifySession> session_; |
DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyNotifySession); |
}; |