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 d2126c9a0a82645bf8c62a1d3e960f1f92804709..bd21686020a2766de0bc112530f90a71418f08c1 100644 |
--- a/content/browser/bluetooth/bluetooth_dispatcher_host.h |
+++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h |
@@ -53,6 +53,10 @@ class CONTENT_EXPORT BluetoothDispatcherHost final |
void OnRequestDevice(int thread_id, int request_id); |
void OnConnectGATT(int thread_id, int request_id, |
const std::string& device_instance_id); |
+ void OnGetPrimaryService(int thread_id, |
+ int request_id, |
+ const std::string& device_instance_id, |
+ const std::string& service_uuid); |
// Callbacks for BluetoothAdapter::StartDiscoverySession. |
void OnDiscoverySessionStarted( |
@@ -83,8 +87,16 @@ class CONTENT_EXPORT BluetoothDispatcherHost final |
const std::string& device_instance_id, |
device::BluetoothDevice::ConnectErrorCode error_code); |
- // Defines how long to scan for. |
- int current_scan_time_; |
+ // Callback for future BluetoothAdapter::ServicesDiscovered callback: |
+ // For now we just post a delayed task. |
+ // See: https://crbug.com/484504 |
+ void OnServicesDiscovered(int thread_id, |
+ int request_id, |
+ const std::string& device_instance_id, |
+ const std::string& service_uuid); |
+ |
+ // Defines how long to scan for and how long to discover services for. |
+ int current_delay_time_; |
// A BluetoothAdapter instance representing an adapter of the system. |
scoped_refptr<device::BluetoothAdapter> adapter_; |