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

Unified Diff: chrome/browser/nacl_host/nacl_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/nacl_host/nacl_infobar_delegate.h
diff --git a/chrome/browser/nacl_host/nacl_infobar_delegate.h b/chrome/browser/nacl_host/nacl_infobar_delegate.h
index 221c7bb7528ddb82fd77312cf59b8635229dcc50..21b804b697e13db364148b2e9d9e73cdfd592276 100644
--- a/chrome/browser/nacl_host/nacl_infobar_delegate.h
+++ b/chrome/browser/nacl_host/nacl_infobar_delegate.h
@@ -5,16 +5,16 @@
#ifndef CHROME_BROWSER_NACL_HOST_NACL_INFOBAR_DELEGATE_H_
#define CHROME_BROWSER_NACL_HOST_NACL_INFOBAR_DELEGATE_H_
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
-class NaClInfoBarDelegate : public ConfirmInfoBarDelegate {
+class NaClInfoBarDelegate : public ContentConfirmInfoBarDelegate {
public:
// Creates a NaCl infobar and delegate and adds the infobar to the infobar
// service corresponding to the given render process and view IDs.
static void Create(int render_process_id, int render_view_id);
private:
- NaClInfoBarDelegate();
+ explicit NaClInfoBarDelegate(content::WebContents* web_contents);
virtual ~NaClInfoBarDelegate();
virtual base::string16 GetMessageText() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698