| 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 18 matching lines...) Expand all Loading... |
| 29 ConnectUnknownFailure, | 29 ConnectUnknownFailure, |
| 30 ConnectAuthFailed, | 30 ConnectAuthFailed, |
| 31 ConnectAuthCanceled, | 31 ConnectAuthCanceled, |
| 32 ConnectAuthRejected, | 32 ConnectAuthRejected, |
| 33 ConnectAuthTimeout, | 33 ConnectAuthTimeout, |
| 34 ConnectUnsupportedDevice, | 34 ConnectUnsupportedDevice, |
| 35 UntranslatedConnectErrorCode, | 35 UntranslatedConnectErrorCode, |
| 36 // NotFoundError: | 36 // NotFoundError: |
| 37 BluetoothAdapterOff, | 37 BluetoothAdapterOff, |
| 38 NoBluetoothAdapter, | 38 NoBluetoothAdapter, |
| 39 NoBluetoothChooser, |
| 39 DiscoverySessionStartFailed, | 40 DiscoverySessionStartFailed, |
| 40 DiscoverySessionStopFailed, | 41 DiscoverySessionStopFailed, |
| 41 NoDevicesFound, | 42 NoDevicesFound, |
| 43 ChosenDeviceVanished, |
| 44 ChooserCancelled, |
| 42 ServiceNotFound, | 45 ServiceNotFound, |
| 43 CharacteristicNotFound, | 46 CharacteristicNotFound, |
| 44 // NotSupportedError: | 47 // NotSupportedError: |
| 45 GATTUnknownError, | 48 GATTUnknownError, |
| 46 GATTUnknownFailure, | 49 GATTUnknownFailure, |
| 47 GATTNotPermitted, | 50 GATTNotPermitted, |
| 48 GATTNotSupported, | 51 GATTNotSupported, |
| 49 GATTUntranslatedErrorCode, | 52 GATTUntranslatedErrorCode, |
| 50 // SecurityError: | 53 // SecurityError: |
| 51 GATTNotAuthorized, | 54 GATTNotAuthorized, |
| 52 RequestDeviceWithoutFrame, | 55 RequestDeviceWithoutFrame, |
| 53 // SyntaxError: | 56 // SyntaxError: |
| 54 | 57 |
| 55 ENUM_MAX_VALUE = GATTNotAuthorized, | 58 ENUM_MAX_VALUE = GATTNotAuthorized, |
| 56 }; | 59 }; |
| 57 | 60 |
| 58 } // namespace blink | 61 } // namespace blink |
| 59 | 62 |
| 60 #endif // WebBluetoothError_h | 63 #endif // WebBluetoothError_h |
| OLD | NEW |