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

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

Issue 1066933008: bluetooth: Refactor Bluetooth and Stub out BluetoothInteraction. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@bluetooth-uuids-fix-casing-2
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/BluetoothInteraction.h
diff --git a/Source/modules/bluetooth/BluetoothInteraction.h b/Source/modules/bluetooth/BluetoothInteraction.h
new file mode 100644
index 0000000000000000000000000000000000000000..e54b91d1b00b9cef51b6f1597c3454b2051340ad
--- /dev/null
+++ b/Source/modules/bluetooth/BluetoothInteraction.h
@@ -0,0 +1,24 @@
+// 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 BluetoothInteraction_h
+#define BluetoothInteraction_h
+
+#include "platform/heap/Heap.h"
+#include "platform/heap/Visitor.h"
haraken 2015/04/24 05:58:42 #include platform/heap/Handle.h instead of these t
ortuno 2015/04/24 06:23:11 Done.
+
+namespace blink {
+
+// Object and UUID lookup on navigator.bluetooth
+class BluetoothInteraction
+ : public GarbageCollectedMixin {
haraken 2015/04/24 05:58:42 You need DEFINE_WRAPPERTYPEINFO() here. DEFINE_WRA
ortuno 2015/04/24 06:23:11 Done. But I get an error: error: 'wrapperTypeInfo
+public:
+
+ // Interface required by Garbage Collection:
haraken 2015/04/24 05:58:42 We normally don't have this comment.
ortuno 2015/04/24 06:23:11 Done.
+ DECLARE_VIRTUAL_TRACE();
+};
+
+} // namespace blink
+
+#endif // BluetoothInteraction

Powered by Google App Engine
This is Rietveld 408576698