Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef WebNFCError_h | |
| 6 #define WebNFCError_h | |
| 7 | |
| 8 namespace blink { | |
| 9 | |
| 10 // Errors that may occur during WebNFC execution. | |
|
kenneth.christiansen
2015/11/30 15:35:50
...and what they map to.
shalamov
2015/12/01 07:57:53
To the specification.
| |
| 11 enum class WebNFCError { | |
| 12 // SecurityError | |
| 13 Security, | |
| 14 // NotSupportedError | |
| 15 NotSupported, | |
| 16 DeviceDisabled, | |
| 17 // NotFoundError | |
| 18 NotFound, | |
| 19 // SyntaxError | |
| 20 InvalidMessage, | |
| 21 // AbortError | |
| 22 OperationCancelled, | |
| 23 // TimeoutError | |
| 24 TimerExpired, | |
| 25 // NoModificationAllowedError | |
| 26 CannotCancel, | |
| 27 // NetworkError | |
| 28 IOError, | |
| 29 | |
| 30 ENUM_MAX_VALUE = IOError | |
| 31 }; | |
| 32 | |
| 33 } // namespace blink | |
| 34 | |
| 35 #endif // WebNFCError_h | |
| OLD | NEW |