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

Unified Diff: components/password_manager/core/browser/password_autofill_manager.cc

Issue 2762233004: Fix autofill popup controller key press callback registration (Closed)
Patch Set: Fix typo Created 3 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: components/password_manager/core/browser/password_autofill_manager.cc
diff --git a/components/password_manager/core/browser/password_autofill_manager.cc b/components/password_manager/core/browser/password_autofill_manager.cc
index 091b2062c2ef71c5e7129cdbb1e41e2c5afb6c0d..a242d655fc00f162453e80ea8e06b3c6e96e8b5f 100644
--- a/components/password_manager/core/browser/password_autofill_manager.cc
+++ b/components/password_manager/core/browser/password_autofill_manager.cc
@@ -17,7 +17,7 @@
#include "base/strings/string16.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
-#include "components/autofill/core/browser/autofill_driver.h"
+#include "components/autofill/core/browser/autofill_client.h"
#include "components/autofill/core/browser/autofill_experiments.h"
#include "components/autofill/core/browser/popup_item_ids.h"
#include "components/autofill/core/browser/suggestion.h"
@@ -138,8 +138,7 @@ PasswordAutofillManager::PasswordAutofillManager(
autofill::AutofillClient* autofill_client)
: password_manager_driver_(password_manager_driver),
autofill_client_(autofill_client),
- weak_ptr_factory_(this) {
-}
+ weak_ptr_factory_(this) {}
PasswordAutofillManager::~PasswordAutofillManager() {
}
@@ -353,6 +352,10 @@ bool PasswordAutofillManager::IsCreditCardPopup() {
return false;
}
+autofill::AutofillDriver* PasswordAutofillManager::GetAutofillDriver() {
+ return password_manager_driver_->GetAutofillDriver();
+}
+
////////////////////////////////////////////////////////////////////////////////
// PasswordAutofillManager, private:

Powered by Google App Engine
This is Rietveld 408576698