| Index: chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h
|
| ===================================================================
|
| --- chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h (revision 232852)
|
| +++ chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h (working copy)
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| +#include "chrome/browser/autocomplete/autocomplete_match.h"
|
| #include "chrome/browser/infobars/infobar_delegate.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -14,7 +15,7 @@
|
| public:
|
| // Creates an alternate nav infobar delegate and adds it to |infobar_service|.
|
| static void Create(InfoBarService* infobar_service,
|
| - const GURL& alternate_nav_url);
|
| + const AutocompleteMatch& match);
|
|
|
| string16 GetMessageTextWithOffset(size_t* link_offset) const;
|
| string16 GetLinkText() const;
|
| @@ -22,7 +23,7 @@
|
|
|
| private:
|
| AlternateNavInfoBarDelegate(InfoBarService* owner,
|
| - const GURL& alternate_nav_url);
|
| + const AutocompleteMatch& match);
|
| virtual ~AlternateNavInfoBarDelegate();
|
|
|
| // InfoBarDelegate:
|
| @@ -30,7 +31,7 @@
|
| virtual int GetIconID() const OVERRIDE;
|
| virtual Type GetInfoBarType() const OVERRIDE;
|
|
|
| - GURL alternate_nav_url_;
|
| + const AutocompleteMatch match_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AlternateNavInfoBarDelegate);
|
| };
|
|
|