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

Unified Diff: chrome/browser/ui/startup/session_crashed_infobar_delegate.h

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 6 years, 9 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/startup/session_crashed_infobar_delegate.h
diff --git a/chrome/browser/ui/startup/session_crashed_infobar_delegate.h b/chrome/browser/ui/startup/session_crashed_infobar_delegate.h
index 1437709f13c7ba8b029b03dd34140224de50bf16..990da53ba2fbc8f047b2f404f0e38057a455b8ba 100644
--- a/chrome/browser/ui/startup/session_crashed_infobar_delegate.h
+++ b/chrome/browser/ui/startup/session_crashed_infobar_delegate.h
@@ -5,20 +5,21 @@
#ifndef CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_INFOBAR_DELEGATE_H_
#define CHROME_BROWSER_UI_STARTUP_SESSION_CRASHED_INFOBAR_DELEGATE_H_
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
class Browser;
class Profile;
// A delegate for the InfoBar shown when the previous session has crashed.
-class SessionCrashedInfoBarDelegate : public ConfirmInfoBarDelegate {
+class SessionCrashedInfoBarDelegate : public ContentConfirmInfoBarDelegate {
public:
// If |browser| is not incognito, creates a session crashed infobar and
// delegate and adds the infobar to the InfoBarService for |browser|.
static void Create(Browser* browser);
private:
- explicit SessionCrashedInfoBarDelegate(Profile* profile);
+ explicit SessionCrashedInfoBarDelegate(Profile* profile,
+ content::WebContents* web_contents);
virtual ~SessionCrashedInfoBarDelegate();
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698