| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 WebBluetoothGATTCharacteristic_h | 5 #ifndef WebBluetoothGATTCharacteristic_h | 
| 6 #define WebBluetoothGATTCharacteristic_h | 6 #define WebBluetoothGATTCharacteristic_h | 
| 7 | 7 | 
|  | 8 #include "public/platform/WebVector.h" | 
|  | 9 | 
| 8 namespace blink { | 10 namespace blink { | 
| 9 | 11 | 
| 10 // An object through which the embedder can trigger events on a Document-bound | 12 // An object through which the embedder can trigger events on a Document-bound | 
| 11 // Web Bluetooth GATT Characteristic object. | 13 // Web Bluetooth GATT Characteristic object. | 
| 12 class WebBluetoothGATTCharacteristic { | 14 class WebBluetoothGATTCharacteristic { | 
| 13 public: | 15 public: | 
|  | 16     // Used to notify blink that the characteristic's value changed. | 
|  | 17     virtual void dispatchCharacteristicValueChanged(const WebVector<uint8_t>&) =
     0; | 
| 14 }; | 18 }; | 
| 15 | 19 | 
| 16 } // namespace blink | 20 } // namespace blink | 
| 17 | 21 | 
| 18 #endif // WebBluetoothGATTCharacteristicDelegate_h | 22 #endif // WebBluetoothGATTCharacteristicDelegate_h | 
| OLD | NEW | 
|---|