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

Unified Diff: chrome/browser/content_settings/permission_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/content_settings/permission_infobar_delegate.cc
diff --git a/chrome/browser/content_settings/permission_infobar_delegate.cc b/chrome/browser/content_settings/permission_infobar_delegate.cc
index e70f879f95e5503e82c477336aba6ca5ce5ae00a..61178273803c180a36aaf1acb47d0581ce61ca69 100644
--- a/chrome/browser/content_settings/permission_infobar_delegate.cc
+++ b/chrome/browser/content_settings/permission_infobar_delegate.cc
@@ -25,15 +25,15 @@ PermissionInfobarDelegate::PermissionInfobarDelegate(
type_(type) {
}
-void PermissionInfobarDelegate::InfoBarDismissed() {
- SetPermission(false, false);
-}
-
infobars::InfoBarDelegate::Type
PermissionInfobarDelegate::GetInfoBarType() const {
return PAGE_ACTION_TYPE;
}
+void PermissionInfobarDelegate::InfoBarDismissed() {
+ SetPermission(false, false);
+}
+
base::string16 PermissionInfobarDelegate::GetButtonLabel(
InfoBarButton button) const {
return l10n_util::GetStringUTF16((button == BUTTON_OK) ?

Powered by Google App Engine
This is Rietveld 408576698