| Index: extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| diff --git a/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc b/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| index 22cb6f74ffe4099b0cfebe8be8402d0dc5e0b4c3..4a5210fa818af87d68612d6d0f998096eb9c3008 100644
|
| --- a/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| +++ b/extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.cc
|
| @@ -4,9 +4,9 @@
|
|
|
| #include "extensions/browser/api/bluetooth/bluetooth_api_pairing_delegate.h"
|
|
|
| +#include <memory>
|
| #include <utility>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "base/values.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "device/bluetooth/bluetooth_device.h"
|
| @@ -101,11 +101,11 @@ void BluetoothApiPairingDelegate::AuthorizePairing(
|
|
|
| void BluetoothApiPairingDelegate::DispatchPairingEvent(
|
| const bt_private::PairingEvent& pairing_event) {
|
| - scoped_ptr<base::ListValue> args =
|
| + std::unique_ptr<base::ListValue> args =
|
| bt_private::OnPairing::Create(pairing_event);
|
| - scoped_ptr<Event> event(new Event(events::BLUETOOTH_PRIVATE_ON_PAIRING,
|
| - bt_private::OnPairing::kEventName,
|
| - std::move(args)));
|
| + std::unique_ptr<Event> event(new Event(events::BLUETOOTH_PRIVATE_ON_PAIRING,
|
| + bt_private::OnPairing::kEventName,
|
| + std::move(args)));
|
| EventRouter::Get(browser_context_)->BroadcastEvent(std::move(event));
|
| }
|
|
|
|
|