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

Unified Diff: chrome/browser/infobars/confirm_infobar_delegate.h

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 years, 8 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/infobars/confirm_infobar_delegate.h
diff --git a/chrome/browser/infobars/confirm_infobar_delegate.h b/chrome/browser/infobars/confirm_infobar_delegate.h
index be0c96fabdd74786392beff558fd16ff4c3e527b..fe30f277c01e17b3e943720ffaa73088de5ab391 100644
--- a/chrome/browser/infobars/confirm_infobar_delegate.h
+++ b/chrome/browser/infobars/confirm_infobar_delegate.h
@@ -7,13 +7,15 @@
#include "base/memory/scoped_ptr.h"
#include "base/strings/string16.h"
-#include "chrome/browser/infobars/infobar_delegate.h"
+#include "components/infobars/core/infobar_delegate.h"
+namespace infobars {
class InfoBar;
+}
// An interface derived from InfoBarDelegate implemented by objects wishing to
// control a ConfirmInfoBar.
-class ConfirmInfoBarDelegate : public InfoBarDelegate {
+class ConfirmInfoBarDelegate : public infobars::InfoBarDelegate {
public:
enum InfoBarButton {
BUTTON_NONE = 0,
@@ -64,7 +66,7 @@ class ConfirmInfoBarDelegate : public InfoBarDelegate {
ConfirmInfoBarDelegate();
// Returns a confirm infobar that owns |delegate|.
- static scoped_ptr<InfoBar> CreateInfoBar(
+ static scoped_ptr<infobars::InfoBar> CreateInfoBar(
scoped_ptr<ConfirmInfoBarDelegate> delegate);
virtual bool ShouldExpireInternal(
@@ -72,7 +74,8 @@ class ConfirmInfoBarDelegate : public InfoBarDelegate {
private:
// InfoBarDelegate:
- virtual bool EqualsDelegate(InfoBarDelegate* delegate) const OVERRIDE;
+ virtual bool EqualsDelegate(
+ infobars::InfoBarDelegate* delegate) const OVERRIDE;
virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ConfirmInfoBarDelegate);
« no previous file with comments | « chrome/browser/google/google_url_tracker_unittest.cc ('k') | chrome/browser/infobars/confirm_infobar_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698