Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h

Issue 1382743002: bluetooth: Add characteristicvaluechanged event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-notifications-1
Patch Set: Address palmer's comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h
index efb8c58b73560dc8112220c8807cc4fee25c60af..42873ee7e9dd5e1049e55c7334a45ea00305ea34 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristic.h
@@ -5,12 +5,16 @@
#ifndef WebBluetoothGATTCharacteristic_h
#define WebBluetoothGATTCharacteristic_h
+#include "public/platform/WebVector.h"
+
namespace blink {
// An object through which the embedder can trigger events on a Document-bound
// Web Bluetooth GATT Characteristic object.
class WebBluetoothGATTCharacteristic {
public:
+ // Used to notify blink that the characteristic's value changed.
+ virtual void dispatchCharacteristicValueChanged(const WebVector<uint8_t>&) { };
tkent 2015/10/19 23:00:59 |{ }| -> |= 0|.
ortuno 2015/10/20 01:12:12 Done.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698