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

Unified Diff: Source/modules/bluetooth/Bluetooth.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/Bluetooth.h
diff --git a/Source/modules/bluetooth/Bluetooth.h b/Source/modules/bluetooth/Bluetooth.h
index 9a42358a79791906d22d5b354a0173cec3d87fd3..c7592e20000fcca45ee335014befd7fff6b4c7e5 100644
--- a/Source/modules/bluetooth/Bluetooth.h
+++ b/Source/modules/bluetooth/Bluetooth.h
@@ -7,17 +7,27 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "modules/bluetooth/BluetoothDiscovery.h"
+#include "modules/bluetooth/BluetoothInteraction.h"
+#include "platform/heap/Visitor.h"
haraken 2015/04/24 05:58:42 Include platform/heap/Handle.h (this is our conven
ortuno 2015/04/24 06:23:11 Done.
namespace blink {
-class Bluetooth final
- : public BluetoothDiscovery {
+class Bluetooth
+ : public BluetoothDiscovery
+ , public BluetoothInteraction
+ , public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
+ USING_GARBAGE_COLLECTED_MIXIN(Bluetooth);
public:
static Bluetooth* create()
{
return new Bluetooth();
}
+ DEFINE_INLINE_VIRTUAL_TRACE()
+ {
+ BluetoothInteraction::trace(visitor);
+ BluetoothDiscovery::trace(visitor);
+ }
};
} // namespace blink
« no previous file with comments | « no previous file | Source/modules/bluetooth/Bluetooth.idl » ('j') | Source/modules/bluetooth/BluetoothInteraction.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698