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

Unified Diff: public/platform/WebFederatedCredential.h

Issue 640263002: Credential Manager: Pass the correct credential type to the embedder. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Feedback. Created 6 years, 2 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
« no previous file with comments | « public/platform/WebCredential.h ('k') | public/platform/WebLocalCredential.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebFederatedCredential.h
diff --git a/public/platform/WebFederatedCredential.h b/public/platform/WebFederatedCredential.h
index 69dafdd85090cfe7df651d5e65db56e87db66b1d..c6f40eeb1901a83047b6435283a1ca4712fd1fda 100644
--- a/public/platform/WebFederatedCredential.h
+++ b/public/platform/WebFederatedCredential.h
@@ -12,15 +12,20 @@
namespace blink {
+class PlatformFederatedCredential;
+
class WebFederatedCredential : public WebCredential {
public:
BLINK_PLATFORM_EXPORT WebFederatedCredential(const WebString& id, const WebString& name, const WebURL& avatarURL, const WebURL& federation);
BLINK_PLATFORM_EXPORT void assign(const WebFederatedCredential&);
- BLINK_PLATFORM_EXPORT virtual bool isFederatedCredential() const override { return true; }
-
BLINK_PLATFORM_EXPORT WebURL federation() const;
+
+#if INSIDE_BLINK
+ BLINK_PLATFORM_EXPORT WebFederatedCredential(PlatformCredential*);
+ BLINK_PLATFORM_EXPORT WebFederatedCredential& operator=(PlatformCredential*);
+#endif
};
} // namespace blink
« no previous file with comments | « public/platform/WebCredential.h ('k') | public/platform/WebLocalCredential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698