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

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

Issue 14241006: Eliminate InfoBarTabHelper. Make InfoBarService a concrete class. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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/auto_login_infobar_delegate.cc
===================================================================
--- chrome/browser/ui/auto_login_infobar_delegate.cc (revision 195254)
+++ chrome/browser/ui/auto_login_infobar_delegate.cc (working copy)
@@ -203,7 +203,7 @@
bool AutoLoginInfoBarDelegate::Accept() {
// AutoLoginRedirector deletes itself.
- new AutoLoginRedirector(&owner()->GetWebContents()->GetController(),
+ new AutoLoginRedirector(&owner()->web_contents()->GetController(),
params_.header.args);
RecordHistogramAction(HISTOGRAM_ACCEPTED);
button_pressed_ = true;
@@ -212,7 +212,7 @@
bool AutoLoginInfoBarDelegate::Cancel() {
Profile* profile = Profile::FromBrowserContext(
- owner()->GetWebContents()->GetBrowserContext());
+ owner()->web_contents()->GetBrowserContext());
PrefService* pref_service = profile->GetPrefs();
pref_service->SetBoolean(prefs::kAutologinEnabled, false);
RecordHistogramAction(HISTOGRAM_REJECTED);
@@ -236,7 +236,7 @@
registrar_.Add(this,
chrome::NOTIFICATION_GOOGLE_SIGNED_OUT,
content::Source<Profile>(Profile::FromBrowserContext(
- owner->GetWebContents()->GetBrowserContext())));
+ owner->web_contents()->GetBrowserContext())));
}
AutoLoginInfoBarDelegate::~AutoLoginInfoBarDelegate() {

Powered by Google App Engine
This is Rietveld 408576698