 Chromium Code Reviews
 Chromium Code Reviews Issue 1382743002:
  bluetooth: Add characteristicvaluechanged event  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-notifications-1
    
  
    Issue 1382743002:
  bluetooth: Add characteristicvaluechanged event  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-notifications-1| 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>&) { }; | |
| 
tkent
2015/10/19 23:00:59
|{ }| -> |= 0|.
 
ortuno
2015/10/20 01:12:12
Done.
 | |
| 14 }; | 18 }; | 
| 15 | 19 | 
| 16 } // namespace blink | 20 } // namespace blink | 
| 17 | 21 | 
| 18 #endif // WebBluetoothGATTCharacteristicDelegate_h | 22 #endif // WebBluetoothGATTCharacteristicDelegate_h | 
| OLD | NEW |