blob: f7b65a5296515a44996880f5a13564de01706510 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// 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 WebBluetoothError;
// FIXME: Return a WebBluetoothDevice http://crbug.com/420284
typedef WebCallbacks<void, 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