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

Issue 10274023: Omnibox SearchProvider Experiment Client Implementation. (Closed)

Created:
8 years, 7 months ago by msw
Modified:
8 years, 6 months ago
Reviewers:
Mark P, Peter Kasting
CC:
chromium-reviews, James Su, Abhi D, Bart N, sreeram, sky
Visibility:
Public.

Description

Omnibox SearchProvider Experiment Client Implementation. See http://goto/omnibox-v20-experiment and http://b/6426178 *Accept suggestion and verbatim relevance scores extensions. *Keep inline autocompletable matches between URL requests. -Only accept suggested relevances if Instant is disabled. -Reject scores that make the top match non-inlinable. -Make BestURLPrefix perform case-insensitive comparison. TODO: Limit # of suggestions parsed or clamp their scores? BUG=125871 TEST=SearchProviderTest.SuggestRelevanceExperiment & manual. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=140512

Patch Set 1 #

Patch Set 2 : Working to some degree... #

Total comments: 18

Patch Set 3 : Inline-autocomplete NavigationResults; cleanup and refactor. #

Total comments: 2

Patch Set 4 : Merge Result structs; Start on RemoveIrrelevantResults; etc. #

Patch Set 5 : Add unit tests, working on details... #

Patch Set 6 : Enforce top result being inlinable; fix test; etc. Still working... #

Patch Set 7 : Fixes and cleanup. #

Total comments: 8

Patch Set 8 : Address comments; ignore |verbatim_relevance_| < 0; allow exact-input top match w/o inline_autocomp… #

Patch Set 9 : Make BestURLPrefix perform case-insensitive comparison. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+270 lines, -49 lines) Patch
M chrome/browser/autocomplete/autocomplete.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.h View 1 2 3 4 5 6 7 3 chunks +19 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 4 5 6 7 10 chunks +123 lines, -37 lines 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 4 5 6 7 1 chunk +118 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/url_prefix.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/autocomplete/url_prefix.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -10 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Mark P
I'm not that familiar with the search_provider in particular, but everything that you'd done looks ...
8 years, 7 months ago (2012-05-02 20:03:09 UTC) #1
msw
This is still a work in progress, but early feedback is appreciated.
8 years, 7 months ago (2012-05-03 23:46:23 UTC) #2
Peter Kasting
Hasty feedback... hope it makes any sense https://chromiumcodereview.appspot.com/10274023/diff/12001/chrome/browser/autocomplete/autocomplete.cc File chrome/browser/autocomplete/autocomplete.cc (left): https://chromiumcodereview.appspot.com/10274023/diff/12001/chrome/browser/autocomplete/autocomplete.cc#oldcode1018 chrome/browser/autocomplete/autocomplete.cc:1018: bool notify_default_match ...
8 years, 7 months ago (2012-05-04 00:11:33 UTC) #3
msw
Thanks for preliminary feedback! It's in better shape, but still a WIP; PTAL. https://chromiumcodereview.appspot.com/10274023/diff/12001/chrome/browser/autocomplete/autocomplete.cc File ...
8 years, 7 months ago (2012-05-04 09:43:40 UTC) #4
Mark P
I did a quick drive-by looking for odd things. Only found one. https://chromiumcodereview.appspot.com/10274023/diff/16002/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc ...
8 years, 7 months ago (2012-05-04 20:31:37 UTC) #5
msw
Still a bunch to do :( https://chromiumcodereview.appspot.com/10274023/diff/16002/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://chromiumcodereview.appspot.com/10274023/diff/16002/chrome/browser/autocomplete/search_provider.cc#newcode645 chrome/browser/autocomplete/search_provider.cc:645: const size_t max_total_matches ...
8 years, 7 months ago (2012-05-04 22:13:39 UTC) #6
msw
Hey Peter, can you please take a look ASAP? Thanks! Mark, I'd appreciate another set ...
8 years, 6 months ago (2012-06-04 23:25:24 UTC) #7
Peter Kasting
LGTM. Nice test suite! Meant I didn't have to worry about checking every fine detail ...
8 years, 6 months ago (2012-06-05 00:47:50 UTC) #8
msw
Thanks; I'll land with green try jobs. https://chromiumcodereview.appspot.com/10274023/diff/39001/chrome/browser/autocomplete/autocomplete.h File chrome/browser/autocomplete/autocomplete.h (right): https://chromiumcodereview.appspot.com/10274023/diff/39001/chrome/browser/autocomplete/autocomplete.h#newcode177 chrome/browser/autocomplete/autocomplete.h:177: // used ...
8 years, 6 months ago (2012-06-05 01:49:40 UTC) #9
Peter Kasting
On 2012/06/05 01:49:40, msw wrote: > > BestURLPrefix() should also do case-insensitive comparisons, I think, ...
8 years, 6 months ago (2012-06-05 02:28:21 UTC) #10
msw
On 2012/06/05 02:28:21, Peter Kasting wrote: > "BestURLPrefix() should be changed to do case-insensitive comparisons". ...
8 years, 6 months ago (2012-06-05 03:37:17 UTC) #11
Peter Kasting
Rad, code is nicely simpler too :)
8 years, 6 months ago (2012-06-05 03:40:33 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/10274023/38003
8 years, 6 months ago (2012-06-05 05:36:16 UTC) #13
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
8 years, 6 months ago (2012-06-05 08:36:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/msw@chromium.org/10274023/38003
8 years, 6 months ago (2012-06-05 09:19:39 UTC) #15
commit-bot: I haz the power
8 years, 6 months ago (2012-06-05 10:26:46 UTC) #16
Change committed as 140512

Powered by Google App Engine
This is Rietveld 408576698