| Index: public/platform/WebBluetoothDevice.h
|
| diff --git a/public/platform/WebBluetoothDevice.h b/public/platform/WebBluetoothDevice.h
|
| index adbff14bb72d6f8e614d8abcfee746ff90289405..8fe19f837e58bf3bf3d1e174b4d30a5be3120550 100644
|
| --- a/public/platform/WebBluetoothDevice.h
|
| +++ b/public/platform/WebBluetoothDevice.h
|
| @@ -2,58 +2,5 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef WebBluetoothDevice_h
|
| -#define WebBluetoothDevice_h
|
| -
|
| -#include "WebString.h"
|
| -#include "WebVector.h"
|
| -
|
| -namespace blink {
|
| -
|
| -// Information describing a Bluetooth device provided by the platform.
|
| -struct WebBluetoothDevice {
|
| - enum class VendorIDSource {
|
| - Unknown,
|
| - Bluetooth,
|
| - USB
|
| - };
|
| -
|
| - WebBluetoothDevice(const WebString& instanceID,
|
| - const WebString& name,
|
| - int32_t deviceClass,
|
| - VendorIDSource vendorIDSource,
|
| - uint16_t vendorID,
|
| - uint16_t productID,
|
| - uint16_t productVersion,
|
| - bool paired,
|
| - bool connected,
|
| - const WebVector<WebString>& uuids)
|
| - : instanceID(instanceID)
|
| - , name(name)
|
| - , deviceClass(deviceClass)
|
| - , vendorIDSource(vendorIDSource)
|
| - , vendorID(vendorID)
|
| - , productID(productID)
|
| - , productVersion(productVersion)
|
| - , paired(paired)
|
| - , connected(connected)
|
| - , uuids(uuids)
|
| - {
|
| - }
|
| -
|
| - // Members corresponding to BluetoothDevice attributes as specified in IDL.
|
| - const WebString instanceID;
|
| - const WebString name;
|
| - const int32_t deviceClass;
|
| - const VendorIDSource vendorIDSource;
|
| - const uint16_t vendorID;
|
| - const uint16_t productID;
|
| - const uint16_t productVersion;
|
| - const bool paired;
|
| - const bool connected;
|
| - const WebVector<WebString> uuids;
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif // WebBluetoothDevice_h
|
| +// TODO(ortuno): Will be removed in https://crrev.com/1060643002
|
| +#include "public/platform/modules/bluetooth/WebBluetoothDevice.h"
|
|
|