| Index: third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
|
| diff --git a/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..440f40d8177e10aec1c8556a32115d3ad158da2c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2016 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.
|
| +
|
| +module blink.mojom;
|
| +
|
| +enum WebBluetoothError {
|
| + SUCCESS,
|
| + // InvalidModificationError:
|
| + GATT_INVALID_ATTRIBUTE_LENGTH,
|
| + // InvalidStateError:
|
| + SERVICE_NO_LONGER_EXISTS,
|
| + CHARACTERISTIC_NO_LONGER_EXISTS,
|
| + // NetworkError:
|
| + DEVICE_NO_LONGER_IN_RANGE,
|
| + GATT_NOT_PAIRED,
|
| + GATT_OPERATION_IN_PROGRESS,
|
| + // NotSupportedError:
|
| + GATT_UNKNOWN_ERROR,
|
| + GATT_UNKNOWN_FAILURE,
|
| + GATT_NOT_PERMITTED,
|
| + GATT_NOT_SUPPORTED,
|
| + GATT_UNTRANSLATED_ERROR_CODE,
|
| + // SecurityError:
|
| + GATT_NOT_AUTHORIZED,
|
| + BLACKLISTED_WRITE
|
| +};
|
|
|