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

Unified Diff: chrome/browser/ui/startup/obsolete_system_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/obsolete_system_infobar_delegate.h
diff --git a/chrome/browser/ui/startup/obsolete_system_infobar_delegate.h b/chrome/browser/ui/startup/obsolete_system_infobar_delegate.h
index b30553837020fe7177d57d99a72a9069fefbd5bb..b76da9d748428542aff6801a9a0a736deceb4717 100644
--- a/chrome/browser/ui/startup/obsolete_system_infobar_delegate.h
+++ b/chrome/browser/ui/startup/obsolete_system_infobar_delegate.h
@@ -7,21 +7,21 @@
#include "base/compiler_specific.h"
#include "base/strings/string16.h"
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
#include "url/gurl.h"
class InfoBarService;
// An infobar that displays a message saying the system (OS or hardware) is
// obsolete, along with a "Learn More" link.
-class ObsoleteSystemInfoBarDelegate : public ConfirmInfoBarDelegate {
+class ObsoleteSystemInfoBarDelegate : public ContentConfirmInfoBarDelegate {
public:
// Creates an obsolete system infobar and delegate and adds the infobar to
// |infobar_service|.
static void Create(InfoBarService* infobar_service);
private:
- ObsoleteSystemInfoBarDelegate();
+ explicit ObsoleteSystemInfoBarDelegate(content::WebContents* web_contents);
virtual ~ObsoleteSystemInfoBarDelegate();
virtual base::string16 GetMessageText() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698