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

Unified Diff: Source/platform/exported/WebLocalCredential.cpp

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 | « Source/platform/exported/WebFederatedCredential.cpp ('k') | public/platform/WebCredential.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebLocalCredential.cpp
diff --git a/Source/platform/exported/WebLocalCredential.cpp b/Source/platform/exported/WebLocalCredential.cpp
index 26d09c5795e1bb202c345507795297bd3aa4cf4e..84c282e20f971fa46d16c4d6f38076e40aba2afc 100644
--- a/Source/platform/exported/WebLocalCredential.cpp
+++ b/Source/platform/exported/WebLocalCredential.cpp
@@ -24,5 +24,16 @@ WebString WebLocalCredential::password() const
return static_cast<PlatformLocalCredential*>(m_platformCredential.get())->password();
}
+WebLocalCredential::WebLocalCredential(PlatformCredential* credential)
+ : WebCredential(credential)
+{
+}
+
+WebLocalCredential& WebLocalCredential::operator=(PlatformCredential* credential)
+{
+ m_platformCredential = credential;
+ return *this;
+}
+
} // namespace blink
« no previous file with comments | « Source/platform/exported/WebFederatedCredential.cpp ('k') | public/platform/WebCredential.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698