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

Unified Diff: components/autofill/content/browser/autofill_driver_impl.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: Address gcasto's comments. Created 6 years, 10 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: components/autofill/content/browser/autofill_driver_impl.h
diff --git a/components/autofill/content/browser/autofill_driver_impl.h b/components/autofill/content/browser/autofill_driver_impl.h
index 099ac0dc1be61686ebbcd0abb1d334b6edb16023..86fe923870dfb4bea8470ff11d09a916983c90e1 100644
--- a/components/autofill/content/browser/autofill_driver_impl.h
+++ b/components/autofill/content/browser/autofill_driver_impl.h
@@ -15,6 +15,8 @@
#include "components/autofill/core/browser/autofill_manager.h"
#include "content/public/browser/web_contents_observer.h"
+class PasswordManagerClient;
+
namespace content {
class WebContents;
}
@@ -38,6 +40,7 @@ class AutofillDriverImpl : public AutofillDriver,
static void CreateForWebContentsAndDelegate(
content::WebContents* contents,
autofill::AutofillManagerDelegate* delegate,
+ PasswordManagerClient* password_manager_client,
const std::string& app_locale,
AutofillManager::AutofillDownloadManagerState enable_download_manager);
static AutofillDriverImpl* FromWebContents(content::WebContents* contents);
@@ -56,7 +59,8 @@ class AutofillDriverImpl : public AutofillDriver,
virtual void RendererShouldAcceptDataListSuggestion(
const base::string16& value) OVERRIDE;
virtual void RendererShouldAcceptPasswordAutofillSuggestion(
- const base::string16& username) OVERRIDE;
+ const base::string16& username,
+ const base::string16& password) OVERRIDE;
virtual void RendererShouldClearFilledForm() OVERRIDE;
virtual void RendererShouldClearPreviewedForm() OVERRIDE;
virtual void RendererShouldSetNodeText(const base::string16& value) OVERRIDE;
@@ -74,6 +78,7 @@ class AutofillDriverImpl : public AutofillDriver,
AutofillDriverImpl(
content::WebContents* web_contents,
autofill::AutofillManagerDelegate* delegate,
+ PasswordManagerClient* password_manager_client,
const std::string& app_locale,
AutofillManager::AutofillDownloadManagerState enable_download_manager);
virtual ~AutofillDriverImpl();

Powered by Google App Engine
This is Rietveld 408576698