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

Unified Diff: chrome/renderer/searchbox/searchbox.h

Issue 14660022: Move most visited item state info from InstantController to InstantService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Addressed comments Created 7 years, 7 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/renderer/searchbox/searchbox.h
diff --git a/chrome/renderer/searchbox/searchbox.h b/chrome/renderer/searchbox/searchbox.h
index 8c5ff9d54bb8535817bfcdbb080d5fc3dd4495c4..48c939f20b158a87ed26a86d366fe7364daea969 100644
--- a/chrome/renderer/searchbox/searchbox.h
+++ b/chrome/renderer/searchbox/searchbox.h
@@ -153,6 +153,9 @@ class SearchBox : public content::RenderViewObserver,
// Sets the query to a new value.
void SetQuery(const string16& query, bool verbatim);
+ // Returns the URL of the Most Visited item specified by the |item_id|.
+ GURL GetURLForMostVisitedItem(InstantRestrictedID item_id) const;
+
string16 query_;
bool verbatim_;
bool query_is_restricted_;

Powered by Google App Engine
This is Rietveld 408576698