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

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

Issue 19705013: [password autofill] Remove references to PasswordForm from RenderViewImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« no previous file with comments | « chrome/browser/prerender/prerender_tab_helper.cc ('k') | chrome/browser/ui/sync/one_click_signin_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_tab_contents.cc
diff --git a/chrome/browser/ui/browser_tab_contents.cc b/chrome/browser/ui/browser_tab_contents.cc
index 032f107eb3d65578bd3d9927f72cb066a4a848e7..6680210c2515082c7b216fe5c8cd42cc74cd7dda 100644
--- a/chrome/browser/ui/browser_tab_contents.cc
+++ b/chrome/browser/ui/browser_tab_contents.cc
@@ -144,7 +144,8 @@ void BrowserTabContents::AttachTabHelpers(WebContents* web_contents) {
PopupBlockerTabHelper::CreateForWebContents(web_contents);
}
PrefsTabHelper::CreateForWebContents(web_contents);
- prerender::PrerenderTabHelper::CreateForWebContents(web_contents);
+ prerender::PrerenderTabHelper::CreateForWebContentsWithPasswordManager(
+ web_contents, PasswordManager::FromWebContents(web_contents));
SadTabHelper::CreateForWebContents(web_contents);
safe_browsing::SafeBrowsingTabObserver::CreateForWebContents(web_contents);
SearchEngineTabHelper::CreateForWebContents(web_contents);
@@ -183,7 +184,8 @@ void BrowserTabContents::AttachTabHelpers(WebContents* web_contents) {
OneClickSigninHelper::CAN_OFFER_FOR_ALL,
std::string(),
NULL)) {
- OneClickSigninHelper::CreateForWebContents(web_contents);
+ OneClickSigninHelper::CreateForWebContentsWithPasswordManager(
+ web_contents, PasswordManager::FromWebContents(web_contents));
}
#endif
« no previous file with comments | « chrome/browser/prerender/prerender_tab_helper.cc ('k') | chrome/browser/ui/sync/one_click_signin_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698