Chromium Code Reviews| 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 bd21686020a2766de0bc112530f90a71418f08c1..fff36712a7d6e60c3afb851c8b89d6359d6bd00b 100644 |
| --- a/content/browser/bluetooth/bluetooth_dispatcher_host.h |
| +++ b/content/browser/bluetooth/bluetooth_dispatcher_host.h |
| @@ -57,6 +57,10 @@ class CONTENT_EXPORT BluetoothDispatcherHost final |
| int request_id, |
| const std::string& device_instance_id, |
| const std::string& service_uuid); |
| + void OnGetCharacteristic(int thread_id, |
| + int request_id, |
| + const std::string& service_instance_id, |
| + const std::string& characteristic_uuid); |
| // Callbacks for BluetoothAdapter::StartDiscoverySession. |
| void OnDiscoverySessionStarted( |
| @@ -95,6 +99,10 @@ class CONTENT_EXPORT BluetoothDispatcherHost final |
| const std::string& device_instance_id, |
| const std::string& service_uuid); |
| + // Maps to get the object's parent based on it's instanceID |
|
Jeffrey Yasskin
2015/06/02 22:12:29
We could also make the renderer pass both a servic
ortuno
2015/06/03 20:27:22
Hmm not sure how passing both a service_id and a d
|
| + // Map of service_instance_id to device_instance_id. |
| + std::map<std::string, std::string> service_to_device_; |
| + |
| // Defines how long to scan for and how long to discover services for. |
| int current_delay_time_; |