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

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

Issue 922953002: Minor infobar cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 5 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/auto_login_infobar_delegate.cc
diff --git a/chrome/browser/ui/auto_login_infobar_delegate.cc b/chrome/browser/ui/auto_login_infobar_delegate.cc
index 9cb09d7d7decdb9e03607aaa6aa45c9c4f8b4d8d..158b5def5e4440b8879045d396671a317f1dad13 100644
--- a/chrome/browser/ui/auto_login_infobar_delegate.cc
+++ b/chrome/browser/ui/auto_login_infobar_delegate.cc
@@ -173,18 +173,18 @@ void AutoLoginInfoBarDelegate::RecordHistogramAction(Actions action) {
HISTOGRAM_BOUNDING_VALUE);
}
-void AutoLoginInfoBarDelegate::InfoBarDismissed() {
- RecordHistogramAction(DISMISSED);
- button_pressed_ = true;
+infobars::InfoBarDelegate::Type AutoLoginInfoBarDelegate::GetInfoBarType()
+ const {
+ return PAGE_ACTION_TYPE;
}
int AutoLoginInfoBarDelegate::GetIconID() const {
return IDR_INFOBAR_AUTOLOGIN;
}
-infobars::InfoBarDelegate::Type AutoLoginInfoBarDelegate::GetInfoBarType()
- const {
- return PAGE_ACTION_TYPE;
+void AutoLoginInfoBarDelegate::InfoBarDismissed() {
+ RecordHistogramAction(DISMISSED);
+ button_pressed_ = true;
}
AutoLoginInfoBarDelegate*
« no previous file with comments | « chrome/browser/ui/auto_login_infobar_delegate.h ('k') | chrome/browser/ui/cocoa/keystone_infobar_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698