 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| Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h | 
| diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h | 
| index 445c074a22a4dfbc95f93e6b73bf53972379fb6f..1cdd4cbd383b729c26280ea462078295c19818d7 100644 | 
| --- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h | 
| +++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetooth.h | 
| @@ -86,6 +86,11 @@ public: | 
| virtual void stopNotifications(const WebString& characteristicInstanceID, | 
| WebBluetoothGATTCharacteristic*, | 
| WebBluetoothNotificationsCallbacks*) {} | 
| + | 
| + // Called when addEventListener is called on a characteristic. | 
| + virtual void registerCharacteristicObject( | 
| + const WebString& characteristicInstanceID, | 
| + WebBluetoothGATTCharacteristic*) {} | 
| 
tkent
2015/10/19 23:00:59
|{}| -> |= 0|.
We don't need to provide an empty
 
ortuno
2015/10/20 01:12:12
Done.
 | 
| virtual void characteristicObjectRemoved( | 
| const WebString& characteristicInstanceID, | 
| WebBluetoothGATTCharacteristic*) {} |