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

Side by Side Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h

Issue 2466223002: Implement WebBluetooth getDescriptor[s] (Closed)
Patch Set: Ensure that we throw a kGattServerNotConnected error if getDescriptor[s] is called while not connec… Created 4 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WebBluetoothRemoteGATTDescriptorInit_h
6 #define WebBluetoothRemoteGATTDescriptorInit_h
7
8 #include "public/platform/WebString.h"
9 #include "public/platform/WebVector.h"
10
11 namespace blink {
12
13 // Contains members corresponding to BluetoothGATTDescriptor
14 // attributes as specified in the IDL.
15 struct WebBluetoothRemoteGATTDescriptorInit {
16 WebBluetoothRemoteGATTDescriptorInit(
17 const WebString& characteristicInstanceID,
18 const WebString& descriptorInstanceID,
19 const WebString& uuid)
20 : characteristicInstanceID(characteristicInstanceID),
21 descriptorInstanceID(descriptorInstanceID),
22 uuid(uuid) {}
23
24 const WebString characteristicInstanceID;
ortuno 2016/11/21 03:34:09 Remove this attribute. I think we intended for it
dougt 2016/11/22 01:47:17 Acknowledged.
25 const WebString descriptorInstanceID;
26 const WebString uuid;
27 const WebVector<uint8_t> value;
28 };
29
30 } // namespace blink
31
32 #endif // WebBluetoothRemoteGATTDescriptorInit_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698