| Index: components/arc/bluetooth/arc_bluetooth_bridge.h
|
| diff --git a/components/arc/bluetooth/arc_bluetooth_bridge.h b/components/arc/bluetooth/arc_bluetooth_bridge.h
|
| index 915d560408350e22f849fe4f3e51f64d91143e14..81b120bc7aece4febf1f54ba903c71d3d5daaf1c 100644
|
| --- a/components/arc/bluetooth/arc_bluetooth_bridge.h
|
| +++ b/components/arc/bluetooth/arc_bluetooth_bridge.h
|
| @@ -12,7 +12,6 @@
|
| #include <string>
|
| #include <vector>
|
|
|
| -#include "base/callback.h"
|
| #include "components/arc/arc_bridge_service.h"
|
| #include "components/arc/arc_service.h"
|
| #include "components/arc/common/bluetooth.mojom.h"
|
| @@ -191,11 +190,11 @@
|
|
|
| // Chrome observer callbacks
|
| void OnPoweredOn(
|
| - const base::Callback<void(mojom::BluetoothAdapterState)>& callback) const;
|
| + const mojo::Callback<void(mojom::BluetoothAdapterState)>& callback) const;
|
| void OnPoweredOff(
|
| - const base::Callback<void(mojom::BluetoothAdapterState)>& callback) const;
|
| + const mojo::Callback<void(mojom::BluetoothAdapterState)>& callback) const;
|
| void OnPoweredError(
|
| - const base::Callback<void(mojom::BluetoothAdapterState)>& callback) const;
|
| + const mojo::Callback<void(mojom::BluetoothAdapterState)>& callback) const;
|
| void OnDiscoveryStarted(
|
| std::unique_ptr<device::BluetoothDiscoverySession> session);
|
| void OnDiscoveryStopped();
|
| @@ -229,14 +228,14 @@
|
| const StopLEListenCallback& callback,
|
| device::BluetoothAdvertisement::ErrorCode error_code);
|
|
|
| - using GattReadCallback = base::Callback<void(mojom::BluetoothGattValuePtr)>;
|
| + using GattReadCallback = mojo::Callback<void(mojom::BluetoothGattValuePtr)>;
|
| void OnGattReadDone(const GattReadCallback& callback,
|
| const std::vector<uint8_t>& result) const;
|
| void OnGattReadError(
|
| const GattReadCallback& callback,
|
| device::BluetoothGattService::GattErrorCode error_code) const;
|
|
|
| - using GattWriteCallback = base::Callback<void(mojom::BluetoothGattStatus)>;
|
| + using GattWriteCallback = mojo::Callback<void(mojom::BluetoothGattStatus)>;
|
| void OnGattWriteDone(const GattWriteCallback& callback) const;
|
| void OnGattWriteError(
|
| const GattWriteCallback& callback,
|
|
|