| Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptor.h
|
| diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptor.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptor.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b19b07eac8aa7482ce7be0aed45b20d76035723a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptor.h
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebBluetoothRemoteGATTDescriptor_h
|
| +#define WebBluetoothRemoteGATTDescriptor_h
|
| +
|
| +#include "public/platform/WebVector.h"
|
| +
|
| +namespace blink {
|
| +
|
| +// An object through which the embedder can trigger events on a Document-bound
|
| +// Web Bluetooth GATT Descriptor object.
|
| +class WebBluetoothRemoteGATTDescriptor {
|
| + public:
|
| + // Used to notify blink that the descriptor's value changed.
|
| + virtual void dispatchDescriptorValueChanged(const WebVector<uint8_t>&) = 0;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebBluetoothRemoteGATTDescriptor
|
|
|