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

Unified Diff: chrome/browser/ui/omnibox/omnibox_navigation_observer.h

Issue 58553003: Pass the AlternateNavInfoBarDelegate an AutocompleteMatch instead of a GURL. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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/omnibox/omnibox_navigation_observer.h
===================================================================
--- chrome/browser/ui/omnibox/omnibox_navigation_observer.h (revision 232852)
+++ chrome/browser/ui/omnibox/omnibox_navigation_observer.h (working copy)
@@ -14,7 +14,6 @@
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/web_contents_observer.h"
#include "net/url_request/url_fetcher_delegate.h"
-#include "url/gurl.h"
namespace history {
class ShortcutsBackend;
@@ -57,7 +56,7 @@
OmniboxNavigationObserver(Profile* profile,
const string16& text,
const AutocompleteMatch& match,
- const GURL& alternate_nav_url);
+ const AutocompleteMatch& alternate_nav_match);
virtual ~OmniboxNavigationObserver();
LoadState load_state() const { return load_state_; }
@@ -97,7 +96,7 @@
const string16 text_;
const AutocompleteMatch match_;
- const GURL alternate_nav_url_;
+ const AutocompleteMatch alternate_nav_match_;
scoped_refptr<history::ShortcutsBackend> shortcuts_backend_; // May be NULL
// in incognito.
scoped_ptr<net::URLFetcher> fetcher_;
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_edit_model.cc ('k') | chrome/browser/ui/omnibox/omnibox_navigation_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698