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

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: Actually fix compile failure. Created 6 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: chrome/browser/ui/tab_helpers.cc
diff --git a/chrome/browser/ui/tab_helpers.cc b/chrome/browser/ui/tab_helpers.cc
index 45853cd449987890e79803612c6d898ccce79097..db8b525dbfe2ac8334ac7f0b9de3c9289e32bc3a 100644
--- a/chrome/browser/ui/tab_helpers.cc
+++ b/chrome/browser/ui/tab_helpers.cc
@@ -122,6 +122,9 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
autofill::AutofillManager::ENABLE_AUTOFILL_DOWNLOAD_MANAGER);
BookmarkTabHelper::CreateForWebContents(web_contents);
chrome_browser_net::NetErrorTabHelper::CreateForWebContents(web_contents);
+ ChromePasswordManagerClient::CreateForWebContentsWithAutofillManagerDelegate(
+ web_contents,
+ autofill::TabAutofillManagerDelegate::FromWebContents(web_contents));
CoreTabHelper::CreateForWebContents(web_contents);
extensions::TabHelper::CreateForWebContents(web_contents);
FaviconTabHelper::CreateForWebContents(web_contents);
@@ -130,7 +133,6 @@ void TabHelpers::AttachTabHelpers(WebContents* web_contents) {
InfoBarService::CreateForWebContents(web_contents);
NavigationCorrectionTabObserver::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