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

Unified Diff: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc

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_notify_session.cc
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
index cfb821b0777394a796d07b3b64acbfd971107a2d..714a5bffb7accecce60fbe8051c396a3f7960c91 100644
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc
@@ -22,11 +22,10 @@ ApiResourceManager<BluetoothLowEnergyNotifySession>::GetFactoryInstance() {
BluetoothLowEnergyNotifySession::BluetoothLowEnergyNotifySession(
bool persistent,
const std::string& owner_extension_id,
- scoped_ptr<device::BluetoothGattNotifySession> session)
+ std::unique_ptr<device::BluetoothGattNotifySession> session)
: ApiResource(owner_extension_id),
persistent_(persistent),
- session_(session.release()) {
-}
+ session_(session.release()) {}
BluetoothLowEnergyNotifySession::~BluetoothLowEnergyNotifySession() {
}

Powered by Google App Engine
This is Rietveld 408576698