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); |