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

Unified Diff: chrome/browser/ui/collected_cookies_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/collected_cookies_infobar_delegate.cc
diff --git a/chrome/browser/ui/collected_cookies_infobar_delegate.cc b/chrome/browser/ui/collected_cookies_infobar_delegate.cc
index 6aed4d5396f79a937366faf07b268427441cf67f..06b6989efd25056dcd33a1f31f08b6bfd36b86b0 100644
--- a/chrome/browser/ui/collected_cookies_infobar_delegate.cc
+++ b/chrome/browser/ui/collected_cookies_infobar_delegate.cc
@@ -27,15 +27,15 @@ CollectedCookiesInfoBarDelegate::CollectedCookiesInfoBarDelegate()
CollectedCookiesInfoBarDelegate::~CollectedCookiesInfoBarDelegate() {
}
-int CollectedCookiesInfoBarDelegate::GetIconID() const {
- return IDR_INFOBAR_COOKIE;
-}
-
infobars::InfoBarDelegate::Type
CollectedCookiesInfoBarDelegate::GetInfoBarType() const {
return PAGE_ACTION_TYPE;
}
+int CollectedCookiesInfoBarDelegate::GetIconID() const {
+ return IDR_INFOBAR_COOKIE;
+}
+
base::string16 CollectedCookiesInfoBarDelegate::GetMessageText() const {
return l10n_util::GetStringUTF16(IDS_COLLECTED_COOKIES_INFOBAR_MESSAGE);
}
« no previous file with comments | « chrome/browser/ui/collected_cookies_infobar_delegate.h ('k') | chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698