| 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 27 matching lines...) Expand all Loading... |
| 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 ChooserDisabled, |
| 48 KillSwitchEnabled, |
| 48 ChooserDeniedPermission, | 49 ChooserDeniedPermission, |
| 49 ServiceNotFound, | 50 ServiceNotFound, |
| 50 CharacteristicNotFound, | 51 CharacteristicNotFound, |
| 51 NoCharacteristicsFound, | 52 NoCharacteristicsFound, |
| 52 // NotSupportedError: | 53 // NotSupportedError: |
| 53 GATTUnknownError, | 54 GATTUnknownError, |
| 54 GATTUnknownFailure, | 55 GATTUnknownFailure, |
| 55 GATTNotPermitted, | 56 GATTNotPermitted, |
| 56 GATTNotSupported, | 57 GATTNotSupported, |
| 57 GATTUntranslatedErrorCode, | 58 GATTUntranslatedErrorCode, |
| 58 // SecurityError: | 59 // SecurityError: |
| 59 GATTNotAuthorized, | 60 GATTNotAuthorized, |
| 60 BlacklistedCharacteristicUUID, | 61 BlacklistedCharacteristicUUID, |
| 61 BlacklistedRead, | 62 BlacklistedRead, |
| 62 BlacklistedWrite, | 63 BlacklistedWrite, |
| 63 NotAllowedToAccessService, | 64 NotAllowedToAccessService, |
| 64 RequestDeviceWithBlacklistedUUID, | 65 RequestDeviceWithBlacklistedUUID, |
| 65 RequestDeviceWithUniqueOrigin, | 66 RequestDeviceWithUniqueOrigin, |
| 66 RequestDeviceWithoutFrame, | 67 RequestDeviceWithoutFrame, |
| 67 // SyntaxError: | 68 // SyntaxError: |
| 68 | 69 |
| 69 ENUM_MAX_VALUE = RequestDeviceWithoutFrame, | 70 ENUM_MAX_VALUE = RequestDeviceWithoutFrame, |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 } // namespace blink | 73 } // namespace blink |
| 73 | 74 |
| 74 #endif // WebBluetoothError_h | 75 #endif // WebBluetoothError_h |
| OLD | NEW |