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

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: 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..501a6cb10e48114a5cb4a5d82c5e5b356fa15284 100644
--- a/components/autofill/content/browser/autofill_driver_impl.h
+++ b/components/autofill/content/browser/autofill_driver_impl.h
@@ -13,6 +13,7 @@
#include "components/autofill/core/browser/autofill_driver.h"
#include "components/autofill/core/browser/autofill_external_delegate.h"
#include "components/autofill/core/browser/autofill_manager.h"
+#include "components/password_manager/core/browser/password_manager_driver.h"
#include "content/public/browser/web_contents_observer.h"
namespace content {
@@ -38,6 +39,7 @@ class AutofillDriverImpl : public AutofillDriver,
static void CreateForWebContentsAndDelegate(
content::WebContents* contents,
autofill::AutofillManagerDelegate* delegate,
+ PasswordManagerDriver* password_manager_driver,
const std::string& app_locale,
AutofillManager::AutofillDownloadManagerState enable_download_manager);
static AutofillDriverImpl* FromWebContents(content::WebContents* contents);
@@ -55,8 +57,6 @@ class AutofillDriverImpl : public AutofillDriver,
const std::vector<FormStructure*>& forms) OVERRIDE;
virtual void RendererShouldAcceptDataListSuggestion(
const base::string16& value) OVERRIDE;
- virtual void RendererShouldAcceptPasswordAutofillSuggestion(
- const base::string16& username) OVERRIDE;
virtual void RendererShouldClearFilledForm() OVERRIDE;
virtual void RendererShouldClearPreviewedForm() OVERRIDE;
virtual void RendererShouldSetNodeText(const base::string16& value) OVERRIDE;
@@ -74,6 +74,7 @@ class AutofillDriverImpl : public AutofillDriver,
AutofillDriverImpl(
content::WebContents* web_contents,
autofill::AutofillManagerDelegate* delegate,
+ PasswordManagerDriver* password_manager_driver,
const std::string& app_locale,
AutofillManager::AutofillDownloadManagerState enable_download_manager);
virtual ~AutofillDriverImpl();

Powered by Google App Engine
This is Rietveld 408576698