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

Unified Diff: public/platform/WebFederatedCredential.h

Issue 457683002: Credential Manager: Add platform-exposed Credential objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Strings. 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/WebFederatedCredential.h
diff --git a/public/platform/WebFederatedCredential.h b/public/platform/WebFederatedCredential.h
new file mode 100644
index 0000000000000000000000000000000000000000..84b4e29e57d942253d1c1735a31289e9a9c5c7f8
--- /dev/null
+++ b/public/platform/WebFederatedCredential.h
@@ -0,0 +1,28 @@
+// 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 WebFederatedCredential_h
+#define WebFederatedCredential_h
+
+#include "WebCommon.h"
+#include "WebCredential.h"
+#include "WebPrivatePtr.h"
sof 2014/08/10 05:54:57 Redundant #include.
Mike West 2014/08/11 07:56:49 Done.
+#include "WebString.h"
+
+namespace blink {
+
+class WebFederatedCredential : public WebCredential {
+public:
+ BLINK_PLATFORM_EXPORT WebFederatedCredential(const WebString& id, const WebString& name, const WebString& avatarURL, const WebString& federation);
+
+ BLINK_PLATFORM_EXPORT void assign(const WebFederatedCredential&);
+
+ BLINK_PLATFORM_EXPORT WebString federation() const;
+};
+
+} // namespace blink
+
+#endif // WebFederatedCredential_h
+
+

Powered by Google App Engine
This is Rietveld 408576698