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

Unified Diff: chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years 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/views/infobars/alternate_nav_infobar_view.h
===================================================================
--- chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h (revision 238220)
+++ chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h (working copy)
@@ -5,8 +5,7 @@
#ifndef CHROME_BROWSER_UI_VIEWS_INFOBARS_ALTERNATE_NAV_INFOBAR_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_INFOBARS_ALTERNATE_NAV_INFOBAR_VIEW_H_
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/views/infobars/infobar_view.h"
#include "ui/views/controls/link_listener.h"
@@ -16,8 +15,8 @@
class AlternateNavInfoBarView : public InfoBarView,
public views::LinkListener {
public:
- AlternateNavInfoBarView(InfoBarService* owner,
- AlternateNavInfoBarDelegate* delegate);
+ explicit AlternateNavInfoBarView(
+ scoped_ptr<AlternateNavInfoBarDelegate> delegate);
private:
virtual ~AlternateNavInfoBarView();

Powered by Google App Engine
This is Rietveld 408576698