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

Unified Diff: chrome/browser/ui/login/login_prompt.h

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mem leak Created 6 years 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: chrome/browser/ui/login/login_prompt.h
diff --git a/chrome/browser/ui/login/login_prompt.h b/chrome/browser/ui/login/login_prompt.h
index 8f55581d683a97263dff0e339d4634845264508d..9f58dcdba547651299d9df5aea62b68be2ada2b8 100644
--- a/chrome/browser/ui/login/login_prompt.h
+++ b/chrome/browser/ui/login/login_prompt.h
@@ -27,6 +27,10 @@ class HttpNetworkSession;
class URLRequest;
} // namespace net
+namespace password_manager {
+class ContentPasswordManagerDriver;
+} // namespace password_manager
+
// This is the base implementation for the OS-specific classes that route
// authentication info to the net::URLRequest that needs it. These functions
// must be implemented in a thread safe manner.
@@ -57,6 +61,10 @@ class LoginHandler : public content::ResourceDispatcherHostLoginDelegate,
// Returns the WebContents that needs authentication.
content::WebContents* GetWebContentsForLogin() const;
+ // Returns the PasswordManager for the render frame that needs login.
+ password_manager::ContentPasswordManagerDriver*
+ GetPasswordManagerDriverForLogin();
+
// Resend the request with authentication credentials.
// This function can be called from either thread.
void SetAuth(const base::string16& username, const base::string16& password);
« no previous file with comments | « chrome/browser/ui/autofill/password_generation_popup_view_browsertest.cc ('k') | chrome/browser/ui/login/login_prompt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698