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

Unified Diff: public/platform/WebCredentialManagerError.h

Issue 456293002: Credential manager: Introduce platform interface. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 side-by-side diff with in-line comments
Download patch
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
« public/platform/WebCredentialManager.h ('K') | « public/platform/WebCredentialManager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698