OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef WebBluetoothError_h | 5 #ifndef WebBluetoothError_h |
6 #define WebBluetoothError_h | 6 #define WebBluetoothError_h |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 // Errors that can occur during Web Bluetooth execution, which are transformed | 10 // Errors that can occur during Web Bluetooth execution, which are transformed |
(...skipping 26 matching lines...) Expand all Loading... |
37 ConnectUnsupportedDevice, | 37 ConnectUnsupportedDevice, |
38 ConnectWriteNotPermitted, | 38 ConnectWriteNotPermitted, |
39 DeviceNoLongerInRange, | 39 DeviceNoLongerInRange, |
40 GATTNotPaired, | 40 GATTNotPaired, |
41 GATTOperationInProgress, | 41 GATTOperationInProgress, |
42 UntranslatedConnectErrorCode, | 42 UntranslatedConnectErrorCode, |
43 // NotFoundError: | 43 // NotFoundError: |
44 NoBluetoothAdapter, | 44 NoBluetoothAdapter, |
45 ChosenDeviceVanished, | 45 ChosenDeviceVanished, |
46 ChooserCancelled, | 46 ChooserCancelled, |
| 47 ChooserDisabled, |
47 ChooserDeniedPermission, | 48 ChooserDeniedPermission, |
48 ServiceNotFound, | 49 ServiceNotFound, |
49 CharacteristicNotFound, | 50 CharacteristicNotFound, |
50 // NotSupportedError: | 51 // NotSupportedError: |
51 GATTUnknownError, | 52 GATTUnknownError, |
52 GATTUnknownFailure, | 53 GATTUnknownFailure, |
53 GATTNotPermitted, | 54 GATTNotPermitted, |
54 GATTNotSupported, | 55 GATTNotSupported, |
55 GATTUntranslatedErrorCode, | 56 GATTUntranslatedErrorCode, |
56 // SecurityError: | 57 // SecurityError: |
57 GATTNotAuthorized, | 58 GATTNotAuthorized, |
58 BlacklistedCharacteristicUUID, | 59 BlacklistedCharacteristicUUID, |
59 NotAllowedToAccessService, | 60 NotAllowedToAccessService, |
60 RequestDeviceWithBlacklistedUUID, | 61 RequestDeviceWithBlacklistedUUID, |
61 RequestDeviceWithUniqueOrigin, | 62 RequestDeviceWithUniqueOrigin, |
62 RequestDeviceWithoutFrame, | 63 RequestDeviceWithoutFrame, |
63 // SyntaxError: | 64 // SyntaxError: |
64 | 65 |
65 ENUM_MAX_VALUE = RequestDeviceWithoutFrame, | 66 ENUM_MAX_VALUE = RequestDeviceWithoutFrame, |
66 }; | 67 }; |
67 | 68 |
68 } // namespace blink | 69 } // namespace blink |
69 | 70 |
70 #endif // WebBluetoothError_h | 71 #endif // WebBluetoothError_h |
OLD | NEW |