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

Issue 2364553004: Updated and refactored URLIndexPrivateData::HistoryItemsForTerms to handle searching the history fo… (Closed)

Created:
4 years, 2 months ago by Lavar Askew
Modified:
4 years, 2 months ago
Reviewers:
Mark P
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Updated and refactored URLIndexPrivateData::HistoryItemsForTerms to handle searching the history for both the original search string as well as the string with a break inserted. The goal is to support mid-word autocomplete in the Omnibox. Currently, if the user types "funtimes", inserts the cursor between the "n" and the "t" and begins typing the word "good" the Ominbox will search for URL results that match "fungood times" only. We want to also search for "fungoodtimes". BUG=591979 TEST=0. Clear browser history. 1. Visit the following link: https://twitter.com/fungoodtimes 2. Open a new browser tab. 3.Type into the Omnibox "funtimes". Note the lack of the suggestion for the above URL. 4. Insert the cursor between the "n" and "t" in "funtime" and type "good". 5. The above URL should show in the autocomplete list. Committed: https://crrev.com/eccdb2b8454318889abf958d86fbf668e2908cc6 Cr-Commit-Position: refs/heads/master@{#420721}

Patch Set 1 #

Patch Set 2 : Fixed bug to properly increment post_filter_item_count_. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -137 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M components/omnibox/browser/history_quick_provider_unittest.cc View 1 2 chunks +57 lines, -46 lines 0 comments Download
M components/omnibox/browser/url_index_private_data.cc View 1 1 chunk +96 lines, -91 lines 3 comments Download

Messages

Total messages: 19 (6 generated)
Lavar Askew
Hi Mark, The proper change set has been uploaded. Thanks, Lavar
4 years, 2 months ago (2016-09-23 02:22:02 UTC) #2
Mark P
looks good to me Thanks for polishing this. I'll go ahead and click the submit ...
4 years, 2 months ago (2016-09-23 04:04:39 UTC) #3
Mark P
lgtm
4 years, 2 months ago (2016-09-23 04:04:45 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2364553004/1
4 years, 2 months ago (2016-09-23 04:05:07 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/74277)
4 years, 2 months ago (2016-09-23 04:18:09 UTC) #8
Mark P
On 2016/09/23 04:18:09, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 2 months ago (2016-09-23 17:24:13 UTC) #9
Lavar Askew
Done.
4 years, 2 months ago (2016-09-23 17:52:20 UTC) #10
Mark P
https://codereview.chromium.org/2364553004/diff/20001/components/omnibox/browser/url_index_private_data.cc File components/omnibox/browser/url_index_private_data.cc (right): https://codereview.chromium.org/2364553004/diff/20001/components/omnibox/browser/url_index_private_data.cc#newcode228 components/omnibox/browser/url_index_private_data.cc:228: history_id_set.clear(); Should we be clearing post_filter_item_count_ here? After all, ...
4 years, 2 months ago (2016-09-23 18:02:13 UTC) #11
Lavar Askew
https://codereview.chromium.org/2364553004/diff/20001/components/omnibox/browser/url_index_private_data.cc File components/omnibox/browser/url_index_private_data.cc (right): https://codereview.chromium.org/2364553004/diff/20001/components/omnibox/browser/url_index_private_data.cc#newcode228 components/omnibox/browser/url_index_private_data.cc:228: history_id_set.clear(); On 2016/09/23 18:02:13, Mark P wrote: > Should ...
4 years, 2 months ago (2016-09-23 19:07:48 UTC) #12
Mark P
Okay, I'll try to hit the CQ (commit queue) button for you. :-) --mark https://codereview.chromium.org/2364553004/diff/20001/components/omnibox/browser/url_index_private_data.cc ...
4 years, 2 months ago (2016-09-23 19:32:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2364553004/20001
4 years, 2 months ago (2016-09-23 19:33:03 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-09-23 20:41:57 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-09-23 20:45:26 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eccdb2b8454318889abf958d86fbf668e2908cc6
Cr-Commit-Position: refs/heads/master@{#420721}

Powered by Google App Engine
This is Rietveld 408576698