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

Unified Diff: trunk/src/chrome/browser/infobars/simple_alert_infobar_delegate.h

Issue 102163002: Revert 238283 "Infobar system refactor." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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: trunk/src/chrome/browser/infobars/simple_alert_infobar_delegate.h
===================================================================
--- trunk/src/chrome/browser/infobars/simple_alert_infobar_delegate.h (revision 238401)
+++ trunk/src/chrome/browser/infobars/simple_alert_infobar_delegate.h (working copy)
@@ -12,15 +12,15 @@
class SimpleAlertInfoBarDelegate : public ConfirmInfoBarDelegate {
public:
- // Creates a simple alert infobar and delegate and adds the infobar to
- // |infobar_service|.
+ // Creates a simple alert infobar delegate and adds it to |infobar_service|.
static void Create(InfoBarService* infobar_service,
int icon_id, // May be |kNoIconID| if no icon is shown.
const string16& message,
bool auto_expire);
private:
- SimpleAlertInfoBarDelegate(int icon_id,
+ SimpleAlertInfoBarDelegate(InfoBarService* infobar_service,
+ int icon_id,
const string16& message,
bool auto_expire);
virtual ~SimpleAlertInfoBarDelegate();

Powered by Google App Engine
This is Rietveld 408576698