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 30 matching lines...) Expand all Loading... |
41 ServiceNotFound, | 41 ServiceNotFound, |
42 CharacteristicNotFound, | 42 CharacteristicNotFound, |
43 // NotSupportedError: | 43 // NotSupportedError: |
44 GATTUnknownError, | 44 GATTUnknownError, |
45 GATTUnknownFailure, | 45 GATTUnknownFailure, |
46 GATTNotPermitted, | 46 GATTNotPermitted, |
47 GATTNotSupported, | 47 GATTNotSupported, |
48 GATTUntranslatedErrorCode, | 48 GATTUntranslatedErrorCode, |
49 // SecurityError: | 49 // SecurityError: |
50 GATTNotAuthorized, | 50 GATTNotAuthorized, |
| 51 RequestDeviceWithoutFrame, |
51 // SyntaxError: | 52 // SyntaxError: |
52 | 53 |
53 ENUM_MAX_VALUE = GATTNotAuthorized, | 54 ENUM_MAX_VALUE = GATTNotAuthorized, |
54 }; | 55 }; |
55 | 56 |
56 } // namespace blink | 57 } // namespace blink |
57 | 58 |
58 #endif // WebBluetoothError_h | 59 #endif // WebBluetoothError_h |
OLD | NEW |