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

Unified Diff: Source/modules/bluetooth/BluetoothGATTCharacteristic.h

Issue 1153343002: bluetooth: Add BluetoothGATTCharacteristic IDL and Blink interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@bluetooth-get-primary-service-implementation
Patch Set: Added BluetoothGATTCharacteristic to global interface test Created 5 years, 7 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
Index: Source/modules/bluetooth/BluetoothGATTCharacteristic.h
diff --git a/Source/modules/bluetooth/BluetoothGATTCharacteristic.h b/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
new file mode 100644
index 0000000000000000000000000000000000000000..0fe3937176832b077c058f834f4d7d957c10b186
--- /dev/null
+++ b/Source/modules/bluetooth/BluetoothGATTCharacteristic.h
@@ -0,0 +1,27 @@
+// 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 BluetoothGATTCharacteristic_h
+#define BluetoothGATTCharacteristic_h
+
+#include "bindings/core/v8/ScriptWrappable.h"
+#include "platform/heap/Handle.h"
+
+namespace blink {
+
+// BluetoothGATTCharacteristic represents a GATT Characteristic, which is a
+// basic data element that provides further information about a peripheral's
+// service.
+class BluetoothGATTCharacteristic final
+ : public GarbageCollected<BluetoothGATTCharacteristic>
+ , public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
+public:
+ // Interface required by garbage collection.
+ DEFINE_INLINE_TRACE() { }
+};
+
+} // namespace blink
+
+#endif // BluetoothGATTCharacteristic_h

Powered by Google App Engine
This is Rietveld 408576698