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

Unified Diff: chrome/browser/history/in_memory_url_index.h

Issue 11757004: Omnibox: Add Mid-Input Matching to HistoryQuick Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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/history/in_memory_url_index.h
diff --git a/chrome/browser/history/in_memory_url_index.h b/chrome/browser/history/in_memory_url_index.h
index 7c526c038df3ad591cce22efc76c28ec484061fd..622e654cd60d68812e00de3117a5b591e8dc2d5e 100644
--- a/chrome/browser/history/in_memory_url_index.h
+++ b/chrome/browser/history/in_memory_url_index.h
@@ -118,7 +118,8 @@ class InMemoryURLIndex : public content::NotificationObserver,
// history items. This entry point simply forwards the call on to the
// URLIndexPrivateData class. For a complete description of this function
// refer to that class.
- ScoredHistoryMatches HistoryItemsForTerms(const string16& term_string);
+ ScoredHistoryMatches HistoryItemsForTerms(const string16& term_string,
+ const size_t cursor_position);
Peter Kasting 2013/01/04 20:04:32 Passing by const value is weird.
Mark P 2013/01/04 23:38:58 Done.
// Deletes the index entry, if any, for the given |url|.
void DeleteURL(const GURL& url);

Powered by Google App Engine
This is Rietveld 408576698