Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothError.h

Issue 1464443002: bluetooth: android: Add BluetoothDevice::ConnectErrorCode enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: II Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 14 matching lines...) Expand all
25 GATTNotPaired, 25 GATTNotPaired,
26 DeviceNoLongerInRange, 26 DeviceNoLongerInRange,
27 ConnectUnknownError, 27 ConnectUnknownError,
28 ConnectAlreadyInProgress, 28 ConnectAlreadyInProgress,
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 ConnectAttributeLengthInvalid,
36 ConnectConnectionCongested,
37 ConnectInsufficientEncryption,
38 ConnectOffsetInvalid,
39 ConnectReadFailed,
40 ConnectRequestNotSupported,
41 ConnectWriteFailed,
35 UntranslatedConnectErrorCode, 42 UntranslatedConnectErrorCode,
36 // NotFoundError: 43 // NotFoundError:
37 NoBluetoothAdapter, 44 NoBluetoothAdapter,
38 ChosenDeviceVanished, 45 ChosenDeviceVanished,
39 ChooserCancelled, 46 ChooserCancelled,
40 ChooserDeniedPermission, 47 ChooserDeniedPermission,
41 ServiceNotFound, 48 ServiceNotFound,
42 CharacteristicNotFound, 49 CharacteristicNotFound,
43 // NotSupportedError: 50 // NotSupportedError:
44 GATTUnknownError, 51 GATTUnknownError,
45 GATTUnknownFailure, 52 GATTUnknownFailure,
46 GATTNotPermitted, 53 GATTNotPermitted,
47 GATTNotSupported, 54 GATTNotSupported,
48 GATTUntranslatedErrorCode, 55 GATTUntranslatedErrorCode,
49 // SecurityError: 56 // SecurityError:
50 GATTNotAuthorized, 57 GATTNotAuthorized,
51 RequestDeviceWithoutFrame, 58 RequestDeviceWithoutFrame,
52 // SyntaxError: 59 // SyntaxError:
53 60
54 ENUM_MAX_VALUE = GATTNotAuthorized, 61 ENUM_MAX_VALUE = GATTNotAuthorized,
55 }; 62 };
56 63
57 } // namespace blink 64 } // namespace blink
58 65
59 #endif // WebBluetoothError_h 66 #endif // WebBluetoothError_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698