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

Unified Diff: public/platform/WebBluetooth.h

Issue 1059793002: bluetooth: Move Bluetooth-related Blink API headers into their own directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/WebBluetooth.h
diff --git a/public/platform/WebBluetooth.h b/public/platform/WebBluetooth.h
index 5a117dabb65c0fc65342c335b83e857ed694cf8a..652e1102cf2235daead95e29d08e21bcdcb6510d 100644
--- a/public/platform/WebBluetooth.h
+++ b/public/platform/WebBluetooth.h
@@ -2,29 +2,4 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WebBluetooth_h
-#define WebBluetooth_h
-
-#include "public/platform/WebCallbacks.h"
-
-namespace blink {
-
-struct WebBluetoothDevice;
-struct WebBluetoothError;
-
-// Success and failure callbacks for requestDevice.
-// WebBluetoothDevice and WebBluetoothError object ownership is transfered.
-typedef WebCallbacks<WebBluetoothDevice, WebBluetoothError> WebBluetoothRequestDeviceCallbacks;
-
-class WebBluetooth {
-public:
- virtual ~WebBluetooth() { }
-
- // Requests a bluetooth device.
- // WebBluetoothRequestDeviceCallbacks ownership transferred to the client.
- virtual void requestDevice(WebBluetoothRequestDeviceCallbacks*) = 0;
-};
-
-} // namespace blink
-
-#endif // WebBluetooth_h
+#include "public/platform/modules/bluetooth/WebBluetooth.h"
scheib 2015/04/13 17:46:34 Leave a // TODO(ortuno): Will be removed in https:

Powered by Google App Engine
This is Rietveld 408576698