| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_DISPATCHER_HOST_H_ |
| 6 #define CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_DISPATCHER_HOST_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 void OnGetPrimaryService(int thread_id, | 113 void OnGetPrimaryService(int thread_id, |
| 114 int request_id, | 114 int request_id, |
| 115 int frame_routing_id, | 115 int frame_routing_id, |
| 116 const std::string& device_id, | 116 const std::string& device_id, |
| 117 const std::string& service_uuid); | 117 const std::string& service_uuid); |
| 118 void OnGetCharacteristic(int thread_id, | 118 void OnGetCharacteristic(int thread_id, |
| 119 int request_id, | 119 int request_id, |
| 120 int frame_routing_id, | 120 int frame_routing_id, |
| 121 const std::string& service_instance_id, | 121 const std::string& service_instance_id, |
| 122 const std::string& characteristic_uuid); | 122 const std::string& characteristic_uuid); |
| 123 void OnGetCharacteristics(int thread_id, |
| 124 int request_id, |
| 125 int frame_routing_id, |
| 126 const std::string& service_instance_id, |
| 127 const std::string& characteristic_uuid); |
| 123 void OnReadValue(int thread_id, | 128 void OnReadValue(int thread_id, |
| 124 int request_id, | 129 int request_id, |
| 125 int frame_routing_id, | 130 int frame_routing_id, |
| 126 const std::string& characteristic_instance_id); | 131 const std::string& characteristic_instance_id); |
| 127 void OnWriteValue(int thread_id, | 132 void OnWriteValue(int thread_id, |
| 128 int request_id, | 133 int request_id, |
| 129 int frame_routing_id, | 134 int frame_routing_id, |
| 130 const std::string& characteristic_instance_id, | 135 const std::string& characteristic_instance_id, |
| 131 const std::vector<uint8_t>& value); | 136 const std::vector<uint8_t>& value); |
| 132 void OnStartNotifications(int thread_id, | 137 void OnStartNotifications(int thread_id, |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 // copies verify they are also used on the UI thread. | 324 // copies verify they are also used on the UI thread. |
| 320 base::WeakPtr<BluetoothDispatcherHost> weak_ptr_on_ui_thread_; | 325 base::WeakPtr<BluetoothDispatcherHost> weak_ptr_on_ui_thread_; |
| 321 base::WeakPtrFactory<BluetoothDispatcherHost> weak_ptr_factory_; | 326 base::WeakPtrFactory<BluetoothDispatcherHost> weak_ptr_factory_; |
| 322 | 327 |
| 323 DISALLOW_COPY_AND_ASSIGN(BluetoothDispatcherHost); | 328 DISALLOW_COPY_AND_ASSIGN(BluetoothDispatcherHost); |
| 324 }; | 329 }; |
| 325 | 330 |
| 326 } // namespace content | 331 } // namespace content |
| 327 | 332 |
| 328 #endif // CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_DISPATCHER_HOST_H_ | 333 #endif // CONTENT_BROWSER_BLUETOOTH_BLUETOOTH_DISPATCHER_HOST_H_ |
| OLD | NEW |