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

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: bluetooth: Move Bluetooth-related Blink API headers into their own directory. 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
« no previous file with comments | « Source/modules/bluetooth/BluetoothError.cpp ('k') | public/platform/WebBluetoothDevice.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebBluetooth.h
diff --git a/public/platform/WebBluetooth.h b/public/platform/WebBluetooth.h
index 5a117dabb65c0fc65342c335b83e857ed694cf8a..5e4ea4d9dbdbf9e49a8f3370a17975dc2851dece 100644
--- a/public/platform/WebBluetooth.h
+++ b/public/platform/WebBluetooth.h
@@ -2,29 +2,5 @@
// 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
+// TODO(ortuno): Will be removed in https://crrev.com/1060643002
+#include "public/platform/modules/bluetooth/WebBluetooth.h"
« no previous file with comments | « Source/modules/bluetooth/BluetoothError.cpp ('k') | public/platform/WebBluetoothDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698