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

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

Issue 1284143006: Update error message assertions for the new chooser. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@add-chooser-error
Patch Set: Remove NoBluetoothChooser, which turns out not to be used. Created 5 years, 3 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
« no previous file with comments | « Source/modules/bluetooth/BluetoothError.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 16 matching lines...) Expand all
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 UntranslatedConnectErrorCode, 35 UntranslatedConnectErrorCode,
36 // NotFoundError: 36 // NotFoundError:
37 BluetoothAdapterOff,
38 NoBluetoothAdapter, 37 NoBluetoothAdapter,
39 NoBluetoothChooser,
40 DiscoverySessionStartFailed,
41 DiscoverySessionStopFailed,
42 NoDevicesFound,
43 ChosenDeviceVanished, 38 ChosenDeviceVanished,
44 ChooserCancelled, 39 ChooserCancelled,
45 ServiceNotFound, 40 ServiceNotFound,
46 CharacteristicNotFound, 41 CharacteristicNotFound,
47 // NotSupportedError: 42 // NotSupportedError:
48 GATTUnknownError, 43 GATTUnknownError,
49 GATTUnknownFailure, 44 GATTUnknownFailure,
50 GATTNotPermitted, 45 GATTNotPermitted,
51 GATTNotSupported, 46 GATTNotSupported,
52 GATTUntranslatedErrorCode, 47 GATTUntranslatedErrorCode,
53 // SecurityError: 48 // SecurityError:
54 GATTNotAuthorized, 49 GATTNotAuthorized,
55 RequestDeviceWithoutFrame, 50 RequestDeviceWithoutFrame,
56 // SyntaxError: 51 // SyntaxError:
57 52
58 ENUM_MAX_VALUE = GATTNotAuthorized, 53 ENUM_MAX_VALUE = GATTNotAuthorized,
59 }; 54 };
60 55
61 } // namespace blink 56 } // namespace blink
62 57
63 #endif // WebBluetoothError_h 58 #endif // WebBluetoothError_h
OLDNEW
« no previous file with comments | « Source/modules/bluetooth/BluetoothError.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698