Chromium Code Reviews| Index: public/platform/WebCredentialManagerError.h |
| diff --git a/public/platform/WebCredentialManagerError.h b/public/platform/WebCredentialManagerError.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ff888e5073b590420f66ce5bc1cabf998e171d19 |
| --- /dev/null |
| +++ b/public/platform/WebCredentialManagerError.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef WebCredentialManagerError_h |
| +#define WebCredentialManagerError_h |
| + |
| +#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.
|
| + |
| +namespace blink { |
| + |
| +struct WebCredentialManagerError { |
| + enum ErrorType { |
| + DisabledErrorType = 0, |
| + UnknownErrorType, |
| + LastErrorType = UnknownErrorType |
| + }; |
| + |
| + WebCredentialManagerError(ErrorType type, WebString message) |
| + : errorType(type) |
| + , errorMessage(message) |
| + { |
| + } |
| + |
| + ErrorType errorType; |
| + WebString errorMessage; |
| +}; |
| + |
| +} // namespace blink |
| + |
| +#endif |