OLD | NEW |
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 WebCredentialManagerError_h | 5 #ifndef WebCredentialManagerError_h |
6 #define WebCredentialManagerError_h | 6 #define WebCredentialManagerError_h |
7 | 7 |
8 namespace blink { | 8 namespace blink { |
9 | 9 |
10 // FIXME: This is a placeholder list of error conditions. We'll likely expand th
e | 10 // FIXME: This is a placeholder list of error conditions. We'll likely expand |
11 // list as the API evolves. | 11 // the list as the API evolves. |
12 enum WebCredentialManagerError { | 12 enum WebCredentialManagerError { |
13 WebCredentialManagerNoError = 0, | 13 WebCredentialManagerNoError = 0, |
14 WebCredentialManagerDisabledError, | 14 WebCredentialManagerDisabledError, |
15 WebCredentialManagerPendingRequestError, | 15 WebCredentialManagerPendingRequestError, |
16 WebCredentialManagerPasswordStoreUnavailableError, | 16 WebCredentialManagerPasswordStoreUnavailableError, |
17 WebCredentialManagerUnknownError, | 17 WebCredentialManagerUnknownError, |
18 WebCredentialManagerErrorLastType = WebCredentialManagerUnknownError, | 18 WebCredentialManagerErrorLastType = WebCredentialManagerUnknownError, |
19 }; | 19 }; |
20 | 20 |
21 } // namespace blink | 21 } // namespace blink |
22 | 22 |
23 #endif | 23 #endif |
OLD | NEW |