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

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

Issue 2466223002: Implement WebBluetooth getDescriptor[s] (Closed)
Patch Set: Remove macos restriction 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h
new file mode 100644
index 0000000000000000000000000000000000000000..b4329bd24693a5a0191d6ac2cae6137e66891d26
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothRemoteGATTDescriptorInit.h
@@ -0,0 +1,26 @@
+// Copyright 2016 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 WebBluetoothRemoteGATTDescriptorInit_h
+#define WebBluetoothRemoteGATTDescriptorInit_h
+
+#include "public/platform/WebString.h"
+#include "public/platform/WebVector.h"
+
+namespace blink {
+
+// Contains members corresponding to BluetoothGATTDescriptor
+// attributes as specified in the IDL.
+struct WebBluetoothRemoteGATTDescriptorInit {
+ WebBluetoothRemoteGATTDescriptorInit(const WebString& descriptorInstanceID,
+ const WebString& uuid)
+ : descriptorInstanceID(descriptorInstanceID), uuid(uuid) {}
+
+ const WebString descriptorInstanceID;
+ const WebString uuid;
+};
+
+} // namespace blink
+
+#endif // WebBluetoothRemoteGATTDescriptorInit_h

Powered by Google App Engine
This is Rietveld 408576698