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

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

Issue 1723723002: bluetooth: Implement Service.getCharacteristics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Merge with ToT Created 4 years, 9 months 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 29 matching lines...) Expand all
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 ChooserDeniedPermission, 47 ChooserDeniedPermission,
48 ServiceNotFound, 48 ServiceNotFound,
49 CharacteristicNotFound, 49 CharacteristicNotFound,
50 NoCharacteristicsFound,
50 // NotSupportedError: 51 // NotSupportedError:
51 GATTUnknownError, 52 GATTUnknownError,
52 GATTUnknownFailure, 53 GATTUnknownFailure,
53 GATTNotPermitted, 54 GATTNotPermitted,
54 GATTNotSupported, 55 GATTNotSupported,
55 GATTUntranslatedErrorCode, 56 GATTUntranslatedErrorCode,
56 // SecurityError: 57 // SecurityError:
57 GATTNotAuthorized, 58 GATTNotAuthorized,
58 BlacklistedCharacteristicUUID, 59 BlacklistedCharacteristicUUID,
59 BlacklistedRead, 60 BlacklistedRead,
60 BlacklistedWrite, 61 BlacklistedWrite,
61 NotAllowedToAccessService, 62 NotAllowedToAccessService,
62 RequestDeviceWithBlacklistedUUID, 63 RequestDeviceWithBlacklistedUUID,
63 RequestDeviceWithUniqueOrigin, 64 RequestDeviceWithUniqueOrigin,
64 RequestDeviceWithoutFrame, 65 RequestDeviceWithoutFrame,
65 // SyntaxError: 66 // SyntaxError:
66 67
67 ENUM_MAX_VALUE = RequestDeviceWithoutFrame, 68 ENUM_MAX_VALUE = RequestDeviceWithoutFrame,
68 }; 69 };
69 70
70 } // namespace blink 71 } // namespace blink
71 72
72 #endif // WebBluetoothError_h 73 #endif // WebBluetoothError_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698