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

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

Issue 1052023004: bluetooth: Stub out BluetoothGattRemoteServer. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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/BluetoothGATTRemoteServer.h
diff --git a/Source/modules/bluetooth/BluetoothGATTRemoteServer.h b/Source/modules/bluetooth/BluetoothGATTRemoteServer.h
new file mode 100644
index 0000000000000000000000000000000000000000..584d67de239c2996555c104d4a9703cf3988a876
--- /dev/null
+++ b/Source/modules/bluetooth/BluetoothGATTRemoteServer.h
@@ -0,0 +1,25 @@
+// 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 BluetoothGATTRemoteServer_h
+#define BluetoothGATTRemoteServer_h
+
+#include "bindings/core/v8/ScriptWrappable.h"
+#include "platform/heap/Heap.h"
+#include "wtf/text/WTFString.h"
+
+namespace blink {
+
+// BluetoothGATTRemoteServer provides a way to interact with a connected bluetooth peripheral.
+class BluetoothGATTRemoteServer final
+ : public GarbageCollectedFinalized<BluetoothGATTRemoteServer>
Jeffrey Yasskin 2015/04/14 01:39:22 Can we avoid finalization here? BluetoothDevice.ga
scheib 2015/04/14 18:25:42 Drop Finalized until/unless we need it.
ortuno 2015/04/14 19:31:21 Done.
+ , public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
+public:
+ void trace(Visitor*) { }
+};
+
+} // namespace blink
+
+#endif // BluetoothDevice_h

Powered by Google App Engine
This is Rietveld 408576698