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

Unified Diff: chrome/browser/ui/collected_cookies_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/collected_cookies_infobar_delegate.h
diff --git a/chrome/browser/ui/collected_cookies_infobar_delegate.h b/chrome/browser/ui/collected_cookies_infobar_delegate.h
index 7bed4fb2b69122d4d5d59c8642c6a26ed73d445b..d4839238617c4bf58f6adf0b2bc7ab330c93961d 100644
--- a/chrome/browser/ui/collected_cookies_infobar_delegate.h
+++ b/chrome/browser/ui/collected_cookies_infobar_delegate.h
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_UI_COLLECTED_COOKIES_INFOBAR_DELEGATE_H_
#define CHROME_BROWSER_UI_COLLECTED_COOKIES_INFOBAR_DELEGATE_H_
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
class InfoBarService;
@@ -14,14 +14,14 @@ class InfoBarService;
// user is shown a message indicating that a reload of the page is
// required for the changes to take effect, and presented a button to perform
// the reload right from the infobar.
-class CollectedCookiesInfoBarDelegate : public ConfirmInfoBarDelegate {
+class CollectedCookiesInfoBarDelegate : public ContentConfirmInfoBarDelegate {
public:
// Creates a collected cookies infobar and delegate and adds the infobar to
// |infobar_service|.
static void Create(InfoBarService* infobar_service);
private:
- CollectedCookiesInfoBarDelegate();
+ explicit CollectedCookiesInfoBarDelegate(content::WebContents* web_contents);
virtual ~CollectedCookiesInfoBarDelegate();
// ConfirmInfoBarDelegate:

Powered by Google App Engine
This is Rietveld 408576698