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

Unified Diff: chrome/browser/ui/tab_helpers.cc

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: chrome/browser/ui/tab_helpers.cc
diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
index 4cb2ea9ac173da5edb4c94bf2209c6077f50ad24..87dfbebdd367f600aea88e02138d5110d30be1c6 100644
--- a/chrome/browser/ui/tab_helpers.cc
+++ b/chrome/browser/ui/tab_helpers.cc
@@ -118,11 +118,14 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
// --- Common tab helpers ---
+ ChromePasswordManagerClient::CreateForWebContents(web_contents);
+
AlternateErrorPageTabObserver::CreateForWebContents(web_contents);
autofill::TabAutofillManagerDelegate::CreateForWebContents(web_contents);
autofill::AutofillDriverImpl::CreateForWebContentsAndDelegate(
web_contents,
autofill::TabAutofillManagerDelegate::FromWebContents(web_contents),
+ ChromePasswordManagerClient::FromWebContents(web_contents)->GetDriver(),
g_browser_process->GetApplicationLocale(),
autofill::AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER);
BookmarkTabHelper::CreateForWebContents(web_contents);
@@ -134,7 +137,6 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
HistoryTabHelper::CreateForWebContents(web_contents);
InfoBarService::CreateForWebContents(web_contents);
NavigationMetricsRecorder::CreateForWebContents(web_contents);
- ChromePasswordManagerClient::CreateForWebContents(web_contents);
PopupBlockerTabHelper::CreateForWebContents(web_contents);
PrefsTabHelper::CreateForWebContents(web_contents);
prerender::PrerenderTabHelper::CreateForWebContentsWithPasswordManager(

Powered by Google App Engine
This is Rietveld 408576698