1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
8 #include "public/platform/WebCallbacks.h"
12 struct WebBluetoothError;
14 // FIXME: Return a WebBluetoothDevice http://crbug.com/420284
15 typedef WebCallbacks<void, WebBluetoothError> WebBluetoothRequestDeviceCallbacks;
19 virtual ~WebBluetooth() { }
21 // Requests a bluetooth device.
22 // WebBluetoothRequestDeviceCallbacks ownership transferred to the client.
23 virtual void requestDevice(WebBluetoothRequestDeviceCallbacks*) = 0;
28 #endif // WebBluetooth_h