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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 blink::WebBluetoothRequestDeviceCallbacks* callbacks) override; | 30 blink::WebBluetoothRequestDeviceCallbacks* callbacks) override; |
31 | 31 |
32 void connectGATT(const blink::WebString& device_instance_id, | 32 void connectGATT(const blink::WebString& device_instance_id, |
33 blink::WebBluetoothConnectGATTCallbacks* callbacks) override; | 33 blink::WebBluetoothConnectGATTCallbacks* callbacks) override; |
34 | 34 |
35 void getPrimaryService( | 35 void getPrimaryService( |
36 const blink::WebString& device_instance_id, | 36 const blink::WebString& device_instance_id, |
37 const blink::WebString& service_uuid, | 37 const blink::WebString& service_uuid, |
38 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override; | 38 blink::WebBluetoothGetPrimaryServiceCallbacks* callbacks) override; |
39 | 39 |
| 40 void getCharacteristic( |
| 41 const blink::WebString& service_instance_id, |
| 42 const blink::WebString& characteristic_uuid, |
| 43 blink::WebBluetoothGetCharacteristicCallbacks* callbacks) override; |
| 44 |
40 private: | 45 private: |
41 BluetoothDispatcher* GetDispatcher(); | 46 BluetoothDispatcher* GetDispatcher(); |
42 | 47 |
43 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 48 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
44 | 49 |
45 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); | 50 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); |
46 }; | 51 }; |
47 | 52 |
48 } // namespace content | 53 } // namespace content |
49 | 54 |
50 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ | 55 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ |
OLD | NEW |