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

Unified Diff: chrome/browser/api/infobars/confirm_infobar_delegate.cc

Issue 11644059: Change infobar creation to use a public static Create() method on the infobar delegate classes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 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/api/infobars/confirm_infobar_delegate.cc
===================================================================
--- chrome/browser/api/infobars/confirm_infobar_delegate.cc (revision 175396)
+++ chrome/browser/api/infobars/confirm_infobar_delegate.cc (working copy)
@@ -8,6 +8,9 @@
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
+ConfirmInfoBarDelegate::~ConfirmInfoBarDelegate() {
+}
+
InfoBarDelegate::InfoBarAutomationType
ConfirmInfoBarDelegate::GetInfoBarAutomationType() const {
return CONFIRM_INFOBAR;
@@ -46,9 +49,6 @@
: InfoBarDelegate(infobar_service) {
}
-ConfirmInfoBarDelegate::~ConfirmInfoBarDelegate() {
-}
-
bool ConfirmInfoBarDelegate::EqualsDelegate(InfoBarDelegate* delegate) const {
ConfirmInfoBarDelegate* confirm_delegate =
delegate->AsConfirmInfoBarDelegate();
« no previous file with comments | « chrome/browser/api/infobars/confirm_infobar_delegate.h ('k') | chrome/browser/api/infobars/infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698