Index: device/bluetooth/adapter.h |
diff --git a/device/bluetooth/adapter.h b/device/bluetooth/adapter.h |
index f5980abf47013fdd54d18b89324baf4c21f7c0e3..a00620543227584a0e1b65bad3006dfb1d41c879 100644 |
--- a/device/bluetooth/adapter.h |
+++ b/device/bluetooth/adapter.h |
@@ -5,10 +5,13 @@ |
#ifndef DEVICE_BLUETOOTH_ADAPTER_H_ |
#define DEVICE_BLUETOOTH_ADAPTER_H_ |
+#include <string> |
+ |
#include "base/macros.h" |
#include "device/bluetooth/bluetooth_adapter.h" |
#include "device/bluetooth/bluetooth_adapter_factory.h" |
#include "device/bluetooth/public/interfaces/adapter.mojom.h" |
+#include "device/bluetooth/public/interfaces/le_device.mojom.h" |
namespace bluetooth { |
@@ -24,6 +27,8 @@ class Adapter : public mojom::Adapter, |
// mojom::Adapter overrides: |
void GetInfo(const GetInfoCallback& callback) override; |
+ void GetDeviceService(const std::string& address, |
+ const GetDeviceServiceCallback& callback) override; |
void GetDevices(const GetDevicesCallback& callback) override; |
void SetClient(mojom::AdapterClientPtr client) override; |
@@ -34,10 +39,6 @@ class Adapter : public mojom::Adapter, |
device::BluetoothDevice* device) override; |
private: |
- // Creates a mojom::DeviceInfo using info from the given |device|. |
- static mojom::DeviceInfoPtr ConstructDeviceInfoStruct( |
- const device::BluetoothDevice* const device); |
- |
// The current Bluetooth adapter. |
scoped_refptr<device::BluetoothAdapter> adapter_; |