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

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

Issue 1403723004: bluetooth: Implement BluetoothCharacteristicProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-query-cache
Patch Set: Address scheib'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
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristicInit.h
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristicInit.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristicInit.h
index 5baaf79ce81c97f15b4b429aa8a2d07ed4f606bb..cc31db0a588f099bd6ecea7a2c6e2fc6f7076477 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristicInit.h
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothGATTCharacteristicInit.h
@@ -15,19 +15,19 @@ namespace blink {
struct WebBluetoothGATTCharacteristicInit {
WebBluetoothGATTCharacteristicInit(const WebString& characteristicInstanceID,
const WebString& serviceInstanceID,
- const WebString& uuid)
+ const WebString& uuid,
+ uint32_t characteristicProperties)
: characteristicInstanceID(characteristicInstanceID)
, serviceInstanceID(serviceInstanceID)
, uuid(uuid)
+ , characteristicProperties(characteristicProperties)
{
}
const WebString characteristicInstanceID;
const WebString serviceInstanceID;
const WebString uuid;
- // TODO(ortuno): Add 'properties' once CharacteristicProperties is implemented.
- // https://crbug.com/483345
- // const WebCharacteristicProperties properties;
+ const uint32_t characteristicProperties;
const WebVector<uint8_t> value;
};
« no previous file with comments | « third_party/WebKit/Source/modules/modules.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698