| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 blink::WebBluetoothWriteValueCallbacks*) override; | 51 blink::WebBluetoothWriteValueCallbacks*) override; |
| 52 void startNotifications(const blink::WebString& characteristic_instance_id, | 52 void startNotifications(const blink::WebString& characteristic_instance_id, |
| 53 blink::WebBluetoothGATTCharacteristic* characteristic, | 53 blink::WebBluetoothGATTCharacteristic* characteristic, |
| 54 blink::WebBluetoothNotificationsCallbacks*) override; | 54 blink::WebBluetoothNotificationsCallbacks*) override; |
| 55 void stopNotifications(const blink::WebString& characteristic_instance_id, | 55 void stopNotifications(const blink::WebString& characteristic_instance_id, |
| 56 blink::WebBluetoothGATTCharacteristic* characteristic, | 56 blink::WebBluetoothGATTCharacteristic* characteristic, |
| 57 blink::WebBluetoothNotificationsCallbacks*) override; | 57 blink::WebBluetoothNotificationsCallbacks*) override; |
| 58 void characteristicObjectRemoved( | 58 void characteristicObjectRemoved( |
| 59 const blink::WebString& characteristic_instance_id, | 59 const blink::WebString& characteristic_instance_id, |
| 60 blink::WebBluetoothGATTCharacteristic* characteristic) override; | 60 blink::WebBluetoothGATTCharacteristic* characteristic) override; |
| 61 void registerCharacteristicObject( |
| 62 const blink::WebString& characteristic_instance_id, |
| 63 blink::WebBluetoothGATTCharacteristic* characteristic) override; |
| 61 | 64 |
| 62 private: | 65 private: |
| 63 BluetoothDispatcher* GetDispatcher(); | 66 BluetoothDispatcher* GetDispatcher(); |
| 64 | 67 |
| 65 const scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 68 const scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 66 const int frame_routing_id_; | 69 const int frame_routing_id_; |
| 67 | 70 |
| 68 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); | 71 DISALLOW_COPY_AND_ASSIGN(WebBluetoothImpl); |
| 69 }; | 72 }; |
| 70 | 73 |
| 71 } // namespace content | 74 } // namespace content |
| 72 | 75 |
| 73 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ | 76 #endif // CONTENT_CHILD_BLUETOOTH_WEB_BLUETOOTH_IMPL_H_ |
| OLD | NEW |