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

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: Fix compile error on Chrome OS. Created 6 years, 9 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 f41cf73a827e09c20ac1459ecfa4833a69ed7bd0..edf0f494fd57ef030aa607225ac69891abcaff28 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.h
+++ b/chrome/browser/password_manager/chrome_password_manager_client.h
@@ -53,6 +53,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 PasswordManager* GetManagerFromWebContents(
@@ -67,7 +71,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.

Powered by Google App Engine
This is Rietveld 408576698