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

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

Issue 1228283003: Attach a WebBluetooth to the LocalFrame and use it if it's available. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@error-enum-cleanup
Patch Set: Always use BluetoothSupplement to get the WebBluetooth instance. Created 5 years, 5 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/web/WebLocalFrameImpl.cpp ('k') | public/web/WebFrameClient.h » ('j') | 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 30 matching lines...) Expand all
41 ServiceNotFound, 41 ServiceNotFound,
42 CharacteristicNotFound, 42 CharacteristicNotFound,
43 // NotSupportedError: 43 // NotSupportedError:
44 GATTUnknownError, 44 GATTUnknownError,
45 GATTUnknownFailure, 45 GATTUnknownFailure,
46 GATTNotPermitted, 46 GATTNotPermitted,
47 GATTNotSupported, 47 GATTNotSupported,
48 GATTUntranslatedErrorCode, 48 GATTUntranslatedErrorCode,
49 // SecurityError: 49 // SecurityError:
50 GATTNotAuthorized, 50 GATTNotAuthorized,
51 RequestDeviceWithoutFrame,
51 // SyntaxError: 52 // SyntaxError:
52 53
53 ENUM_MAX_VALUE = GATTNotAuthorized, 54 ENUM_MAX_VALUE = GATTNotAuthorized,
54 }; 55 };
55 56
56 } // namespace blink 57 } // namespace blink
57 58
58 #endif // WebBluetoothError_h 59 #endif // WebBluetoothError_h
OLDNEW
« no previous file with comments | « Source/web/WebLocalFrameImpl.cpp ('k') | public/web/WebFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698