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

Unified Diff: public/platform/Platform.h

Issue 650613005: bluetooth: Initial WebBluetooth & WebBluetoothError. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Abandoned initial approach implementing BluetoothMock in Blink. Created 6 years, 2 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: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index c319e30c3ab10f33258b52f0ef4015c0d13169d6..4051efffa2b1766fdd0f9b5ce5b4c97e75433022 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -61,6 +61,7 @@ namespace blink {
class WebAudioBus;
class WebBlobRegistry;
+class WebBluetooth;
class WebContentDecryptionModule;
class WebClipboard;
class WebCompositorSupport;
@@ -639,6 +640,11 @@ public:
virtual WebGeofencingProvider* geofencingProvider() { return 0; }
+ // Bluetooth ----------------------------------------------------------
+
+ // Returns pointer to client owned WebBluetooth implementation.
+ virtual WebBluetooth* bluetooth() { return 0; }
yhirano 2014/10/20 10:42:45 Using nullptr is fine.
+
protected:
virtual ~Platform() { }
};

Powered by Google App Engine
This is Rietveld 408576698