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

Unified Diff: third_party/WebKit/Source/platform/credentialmanager/PlatformPasswordCredential.h

Issue 2852423002: Expose passwords to JavaScript in Credential Manager API (Closed)
Patch Set: More Interface Listings Created 3 years, 8 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: third_party/WebKit/Source/platform/credentialmanager/PlatformPasswordCredential.h
diff --git a/third_party/WebKit/Source/platform/credentialmanager/PlatformPasswordCredential.h b/third_party/WebKit/Source/platform/credentialmanager/PlatformPasswordCredential.h
index b8503000ae8a513b12f732d21738aa4549b819d1..28ec05d291b341d6f0e0868e883c02442afdc334 100644
--- a/third_party/WebKit/Source/platform/credentialmanager/PlatformPasswordCredential.h
+++ b/third_party/WebKit/Source/platform/credentialmanager/PlatformPasswordCredential.h
@@ -23,6 +23,7 @@ class PLATFORM_EXPORT PlatformPasswordCredential final
~PlatformPasswordCredential() override;
const String& Password() const { return password_; }
+ void SetPassword(const String& password) { password_ = password; }
bool IsPassword() override { return true; }

Powered by Google App Engine
This is Rietveld 408576698