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

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

Issue 11757004: Omnibox: Add Mid-Input Matching to HistoryQuick Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo in comment Created 7 years, 10 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.cc
diff --git a/chrome/browser/history/in_memory_url_index.cc b/chrome/browser/history/in_memory_url_index.cc
index a3cb4f882f116ae202e0f96860829c35f9ed8219..27ce3c847bcec3585f67622a66dbb452e596734b 100644
--- a/chrome/browser/history/in_memory_url_index.cc
+++ b/chrome/browser/history/in_memory_url_index.cc
@@ -157,9 +157,12 @@ bool InMemoryURLIndex::GetCacheFilePath(FilePath* file_path) {
// Querying --------------------------------------------------------------------
ScoredHistoryMatches InMemoryURLIndex::HistoryItemsForTerms(
- const string16& term_string) {
+ const string16& term_string,
+ size_t cursor_position) {
return private_data_->HistoryItemsForTerms(
- term_string, BookmarkModelFactory::GetForProfile(profile_));
+ term_string,
+ cursor_position,
+ BookmarkModelFactory::GetForProfile(profile_));
}
// Updating --------------------------------------------------------------------
« no previous file with comments | « chrome/browser/history/in_memory_url_index.h ('k') | chrome/browser/history/in_memory_url_index_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698