OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WebCredentialManagerError_h | |
6 #define WebCredentialManagerError_h | |
7 | |
8 #include "WebString.h" | |
tkent
2014/08/11 08:43:50
should be "public/platform/WebString.h"
Mike West
2014/08/11 09:13:41
Done.
| |
9 | |
10 namespace blink { | |
11 | |
12 struct WebCredentialManagerError { | |
13 enum ErrorType { | |
14 DisabledErrorType = 0, | |
15 UnknownErrorType, | |
16 LastErrorType = UnknownErrorType | |
17 }; | |
18 | |
19 WebCredentialManagerError(ErrorType type, WebString message) | |
20 : errorType(type) | |
21 , errorMessage(message) | |
22 { | |
23 } | |
24 | |
25 ErrorType errorType; | |
26 WebString errorMessage; | |
27 }; | |
28 | |
29 } // namespace blink | |
30 | |
31 #endif | |
OLD | NEW |