| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 ServiceNotFound, | 48 ServiceNotFound, |
| 49 CharacteristicNotFound, | 49 CharacteristicNotFound, |
| 50 // NotSupportedError: | 50 // NotSupportedError: |
| 51 GATTUnknownError, | 51 GATTUnknownError, |
| 52 GATTUnknownFailure, | 52 GATTUnknownFailure, |
| 53 GATTNotPermitted, | 53 GATTNotPermitted, |
| 54 GATTNotSupported, | 54 GATTNotSupported, |
| 55 GATTUntranslatedErrorCode, | 55 GATTUntranslatedErrorCode, |
| 56 // SecurityError: | 56 // SecurityError: |
| 57 GATTNotAuthorized, | 57 GATTNotAuthorized, |
| 58 RequestDeviceWithUniqueOrigin, |
| 58 RequestDeviceWithoutFrame, | 59 RequestDeviceWithoutFrame, |
| 59 // SyntaxError: | 60 // SyntaxError: |
| 60 | 61 |
| 61 ENUM_MAX_VALUE = GATTNotAuthorized, | 62 ENUM_MAX_VALUE = GATTNotAuthorized, |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } // namespace blink | 65 } // namespace blink |
| 65 | 66 |
| 66 #endif // WebBluetoothError_h | 67 #endif // WebBluetoothError_h |
| OLD | NEW |