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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client.h

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Actually fix compile failure. Created 6 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: chrome/browser/password_manager/chrome_password_manager_client.h
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.h b/chrome/browser/password_manager/chrome_password_manager_client.h
index 1a8b5c2b38b6ab9fc628cae44714e81d6e216052..24c65930fd6d2aba016c5ab94e55fb8717c50484 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.h
+++ b/chrome/browser/password_manager/chrome_password_manager_client.h
@@ -59,6 +59,10 @@ class ChromePasswordManagerClient
// Hides any visible generation UI.
void HidePasswordGenerationPopup();
+ static void CreateForWebContentsWithAutofillManagerDelegate(
+ content::WebContents* contents,
+ autofill::AutofillManagerDelegate* delegate);
+
// Convenience method to allow //chrome code easy access to a PasswordManager
// from a WebContents instance.
static password_manager::PasswordManager* GetManagerFromWebContents(
@@ -73,7 +77,9 @@ class ChromePasswordManagerClient
void SetTestObserver(autofill::PasswordGenerationPopupObserver* observer);
private:
- explicit ChromePasswordManagerClient(content::WebContents* web_contents);
+ ChromePasswordManagerClient(
+ content::WebContents* web_contents,
+ autofill::AutofillManagerDelegate* autofill_manager_delegate);
friend class content::WebContentsUserData<ChromePasswordManagerClient>;
// content::WebContentsObserver overrides.
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_view.cc ('k') | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698