| 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_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ | 5 #ifndef CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ |
| 6 #define CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ | 6 #define CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 blink::WebBluetoothRemoteGATTServerConnectCallbacks* callbacks) override; | 42 blink::WebBluetoothRemoteGATTServerConnectCallbacks* callbacks) override; |
| 43 void disconnect(const blink::WebString& device_id) override; | 43 void disconnect(const blink::WebString& device_id) override; |
| 44 void getPrimaryService( | 44 void getPrimaryService( |
| 45 const blink::WebString& device_id, | 45 const blink::WebString& device_id, |
| 46 const blink::WebString& service_uuid, | 46 const blink::WebString& service_uuid, |
| 47 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override; | 47 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override; |
| 48 void getCharacteristic( | 48 void getCharacteristic( |
| 49 const blink::WebString& service_instance_id, | 49 const blink::WebString& service_instance_id, |
| 50 const blink::WebString& characteristic_uuid, | 50 const blink::WebString& characteristic_uuid, |
| 51 blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override; | 51 blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override; |
| 52 void getCharacteristics( |
| 53 const blink::WebString& service_instance_id, |
| 54 const blink::WebString& characteristics_uuid, |
| 55 blink::WebBluetoothGetCharacteristicsCallbacks* callbacks) override; |
| 56 |
| 52 void readValue(const blink::WebString& characteristic_instance_id, | 57 void readValue(const blink::WebString& characteristic_instance_id, |
| 53 blink::WebBluetoothReadValueCallbacks* callbacks) override; | 58 blink::WebBluetoothReadValueCallbacks* callbacks) override; |
| 54 void writeValue(const blink::WebString& characteristic_instance_id, | 59 void writeValue(const blink::WebString& characteristic_instance_id, |
| 55 const blink::WebVector<uint8_t>& value, | 60 const blink::WebVector<uint8_t>& value, |
| 56 blink::WebBluetoothWriteValueCallbacks*) override; | 61 blink::WebBluetoothWriteValueCallbacks*) override; |
| 57 void startNotifications( | 62 void startNotifications( |
| 58 const blink::WebString& characteristic_instance_id, | 63 const blink::WebString& characteristic_instance_id, |
| 59 blink::WebBluetoothRemoteGATTCharacteristic* characteristic, | 64 blink::WebBluetoothRemoteGATTCharacteristic* characteristic, |
| 60 blink::WebBluetoothNotificationsCallbacks*) override; | 65 blink::WebBluetoothNotificationsCallbacks*) override; |
| 61 void stopNotifications( | 66 void stopNotifications( |
| (...skipping 12 matching lines...) Expand all Loading... |
| 74 | 79 |
| 75 const scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 80 const scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 76 const int frame_routing_id_; | 81 const int frame_routing_id_; |
| 77 | 82 |
| 78 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); | 83 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); |
| 79 }; | 84 }; |
| 80 | 85 |
| 81 } // namespace content | 86 } // namespace content |
| 82 | 87 |
| 83 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ | 88 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ |
| OLD | NEW |