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

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

Issue 573663002: Credential Manager: Wire up the client. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Oops. Created 6 years, 3 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: Source/platform/exported/WebCredential.cpp
diff --git a/Source/platform/exported/WebCredential.cpp b/Source/platform/exported/WebCredential.cpp
index db6097c1d75ffb0324ce9f746d39dd0a15dce89d..a8ce261d953371c17db0fdd61d25fef298eac1d2 100644
--- a/Source/platform/exported/WebCredential.cpp
+++ b/Source/platform/exported/WebCredential.cpp
@@ -24,6 +24,17 @@ WebCredential::WebCredential(PlatformCredential* credential)
{
}
+WebCredential& WebCredential::operator=(PlatformCredential* credential)
+{
+ m_platformCredential = credential;
+ return *this;
+}
+
+WebCredential::operator PlatformCredential*() const
+{
+ return m_platformCredential.get();
+}
+
void WebCredential::reset()
{
m_platformCredential.reset();

Powered by Google App Engine
This is Rietveld 408576698