| Index: content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| diff --git a/content/browser/bluetooth/bluetooth_dispatcher_host.h b/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| index e1ab351b636c8ce3c58e8d44ac6374ca15208999..d2126c9a0a82645bf8c62a1d3e960f1f92804709 100644
|
| --- a/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| +++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h
|
| @@ -10,6 +10,7 @@
|
| #include "content/common/bluetooth/bluetooth_error.h"
|
| #include "content/public/browser/browser_message_filter.h"
|
| #include "device/bluetooth/bluetooth_adapter.h"
|
| +#include "device/bluetooth/bluetooth_gatt_connection.h"
|
|
|
| namespace content {
|
|
|
| @@ -70,6 +71,18 @@ class CONTENT_EXPORT BluetoothDispatcherHost final
|
| void OnDiscoverySessionStopped(int thread_id, int request_id);
|
| void OnDiscoverySessionStoppedError(int thread_id, int request_id);
|
|
|
| + // Callbacks for BluetoothDevice::CreateGattConnection
|
| + void OnGATTConnectionCreated(
|
| + int thread_id,
|
| + int request_id,
|
| + const std::string& device_instance_id,
|
| + scoped_ptr<device::BluetoothGattConnection> connection);
|
| + void OnCreateGATTConnectionError(
|
| + int thread_id,
|
| + int request_id,
|
| + const std::string& device_instance_id,
|
| + device::BluetoothDevice::ConnectErrorCode error_code);
|
| +
|
| // Defines how long to scan for.
|
| int current_scan_time_;
|
|
|
|
|