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

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

Issue 1697873002: bluetooth: Test Web Bluetooth getCharacteristic calls against blacklist. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-blacklist-integration-
Patch Set: move glucose UUID in code as well 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 BlacklistedCharacteristicUUID,
58 NotAllowedToAccessService, 59 NotAllowedToAccessService,
59 RequestDeviceWithBlacklistedUUID, 60 RequestDeviceWithBlacklistedUUID,
60 RequestDeviceWithUniqueOrigin, 61 RequestDeviceWithUniqueOrigin,
61 RequestDeviceWithoutFrame, 62 RequestDeviceWithoutFrame,
62 // SyntaxError: 63 // SyntaxError:
63 64
64 ENUM_MAX_VALUE = RequestDeviceWithoutFrame, 65 ENUM_MAX_VALUE = RequestDeviceWithoutFrame,
65 }; 66 };
66 67
67 } // namespace blink 68 } // namespace blink
68 69
69 #endif // WebBluetoothError_h 70 #endif // WebBluetoothError_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698