| Index: chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc
|
| diff --git a/chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc b/chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc
|
| index 482f7bf23a45d4d2131be58762f780b7cac5b9b5..44d94b3d7c4eb668a847268b96b9700e074eb617 100644
|
| --- a/chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc
|
| +++ b/chrome/browser/extensions/api/bluetooth/bluetooth_private_api.cc
|
| @@ -42,13 +42,13 @@ void BluetoothPrivateAPI::Shutdown() {
|
|
|
| void BluetoothPrivateAPI::OnListenerAdded(const EventListenerInfo& details) {
|
| BluetoothAPI::Get(browser_context_)
|
| - ->bluetooth_event_router()
|
| + ->event_router()
|
| ->AddPairingDelegate(details.extension_id);
|
| }
|
|
|
| void BluetoothPrivateAPI::OnListenerRemoved(const EventListenerInfo& details) {
|
| BluetoothAPI::Get(browser_context_)
|
| - ->bluetooth_event_router()
|
| + ->event_router()
|
| ->RemovePairingDelegate(details.extension_id);
|
| }
|
|
|
| @@ -222,7 +222,7 @@ bool BluetoothPrivateSetPairingResponseFunction::DoWork(
|
| const bt_private::SetPairingResponseOptions& options = params->options;
|
|
|
| BluetoothEventRouter* router =
|
| - BluetoothAPI::Get(browser_context())->bluetooth_event_router();
|
| + BluetoothAPI::Get(browser_context())->event_router();
|
| if (!router->GetPairingDelegate(extension_id())) {
|
| SetError(kPairingNotEnabled);
|
| SendResponse(false);
|
|
|