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

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

Issue 2466223002: Implement WebBluetooth getDescriptor[s] (Closed)
Patch Set: Removing BDH_INVALID_DESCRIPTOR_ID Created 4 years 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
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 WebBluetoothRemoteGATTCharacteristic_h 5 #ifndef WebBluetoothRemoteGATTCharacteristic_h
6 #define WebBluetoothRemoteGATTCharacteristic_h 6 #define WebBluetoothRemoteGATTCharacteristic_h
7 7
8 #include "public/platform/WebVector.h" 8 #include "public/platform/WebVector.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // 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
13 // Web Bluetooth GATT Characteristic object. 13 // Web Bluetooth GATT Characteristic object.
14 class WebBluetoothRemoteGATTCharacteristic { 14 class WebBluetoothRemoteGATTCharacteristic {
15 public: 15 public:
16 // Used to notify blink that the characteristic's value changed. 16 // Used to notify blink that the characteristic's value changed.
17 virtual void dispatchCharacteristicValueChanged( 17 virtual void dispatchCharacteristicValueChanged(
18 const WebVector<uint8_t>&) = 0; 18 const WebVector<uint8_t>&) = 0;
19 }; 19 };
20 20
21 } // namespace blink 21 } // namespace blink
22 22
23 #endif // WebBluetoothRemoteGATTCharacteristicDelegate_h 23 #endif // WebBluetoothRemoteGATTCharacteristic_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698