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 2da56397dd64f44a5e33050d0fd0b357fb72278c..875fbab92b09366d732e3f425361dad7b95bd9f9 100644 |
--- a/chrome/browser/ui/login/login_prompt.h |
+++ b/chrome/browser/ui/login/login_prompt.h |
@@ -26,6 +26,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. |
@@ -56,6 +60,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); |