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

Issue 470313004: [AiS] Use top local result for prefetch. (Closed)

Created:
6 years, 4 months ago by groby-ooo-7-16
Modified:
6 years, 2 months ago
Reviewers:
Mark P
CC:
chromium-reviews, James Su, Peter Kasting, Justin Donnelly
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[AiS] Use top local result for prefetch. For answers prefetching, Chrome needs to know what the top search history result for the current input is - _before_ issuing a search engine query for that same input BUG=406588 Committed: https://crrev.com/e5fcee487262976448cde70e40ac6bbe11660f6b Cr-Commit-Position: refs/heads/master@{#296873}

Patch Set 1 #

Patch Set 2 : Score HistoryResults earlier if part of Answers FieldTrial #

Total comments: 2

Patch Set 3 : Fix empty results. #

Patch Set 4 : Use top suggestion to retrieve answer. #

Total comments: 60

Patch Set 5 : Rebase to HEAD #

Patch Set 6 : Rename result/scored_result -> raw_result/transformed_result. #

Patch Set 7 : Review fixes. #

Total comments: 22

Patch Set 8 : REBASE to HEAD #

Patch Set 9 : Moar review fixes. #

Total comments: 4

Patch Set 10 : Review fixes. #

Total comments: 4

Patch Set 11 : Fix nits. #

Patch Set 12 : Ooops. Fix transposed words. #

Patch Set 13 : Fixed unit test to use proper function invocation. #

Total comments: 6

Patch Set 14 : Moar review fixes. #

Total comments: 2

Patch Set 15 : Experiment: Remove reference #

Patch Set 16 : Experiment: remove reference. #

Patch Set 17 : Fix review nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+180 lines, -74 lines) Patch
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +16 lines, -10 lines 0 comments Download
M components/omnibox/search_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +33 lines, -12 lines 0 comments Download
M components/omnibox/search_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +131 lines, -52 lines 0 comments Download

Messages

Total messages: 39 (7 generated)
groby-ooo-7-16
Heads-up - some refactoring going on here for SearchProvider and history results. Not ready for ...
6 years, 4 months ago (2014-08-22 21:35:48 UTC) #1
groby-ooo-7-16
Stage 2 - compute scores earlier, but only if part of Answers FieldTrial https://codereview.chromium.org/470313004/diff/20001/chrome/browser/autocomplete/search_provider.cc File ...
6 years, 4 months ago (2014-08-22 23:09:56 UTC) #2
Mark P
FYI, I glanced at it. This looks like a fine start. --mark On Fri, Aug ...
6 years, 4 months ago (2014-08-25 18:02:39 UTC) #3
groby-ooo-7-16
groby@chromium.org changed reviewers: + mpearson@chromium.org
6 years, 3 months ago (2014-08-28 21:36:08 UTC) #4
groby-ooo-7-16
OK, this looks like a working version. Mark, please take a look. https://codereview.chromium.org/470313004/diff/60001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc ...
6 years, 3 months ago (2014-08-28 21:36:09 UTC) #5
Mark P
https://codereview.chromium.org/470313004/diff/60001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/470313004/diff/60001/chrome/browser/autocomplete/search_provider.cc#newcode249 chrome/browser/autocomplete/search_provider.cc:249: // Answers needs the scored history results before any ...
6 years, 3 months ago (2014-09-05 22:18:17 UTC) #6
groby-ooo-7-16
PTAL https://codereview.chromium.org/470313004/diff/60001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/470313004/diff/60001/chrome/browser/autocomplete/search_provider.cc#newcode249 chrome/browser/autocomplete/search_provider.cc:249: // Answers needs the scored history results before ...
6 years, 3 months ago (2014-09-10 23:21:39 UTC) #7
groby-ooo-7-16
Friendly ping :) Also, test results with field trial on are at https://codereview.chromium.org/558293004 I consider ...
6 years, 3 months ago (2014-09-15 19:57:36 UTC) #8
Mark P
Sorry, I've been sick. I'll get to it this week. On Mon, Sep 15, 2014 ...
6 years, 3 months ago (2014-09-15 21:19:45 UTC) #9
groby-ooo-7-16
Thank you, and hope you're better! On Mon, Sep 15, 2014 at 2:19 PM, Mark ...
6 years, 3 months ago (2014-09-15 21:23:00 UTC) #10
Mark P
Getting pretty close now... --mark https://codereview.chromium.org/470313004/diff/60001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/470313004/diff/60001/chrome/browser/autocomplete/search_provider.cc#newcode1321 chrome/browser/autocomplete/search_provider.cc:1321: // results, duplicates be ...
6 years, 3 months ago (2014-09-16 22:24:55 UTC) #11
groby-ooo-7-16
PTAL - with one major question around the suggestion annotation issue. https://codereview.chromium.org/470313004/diff/120001/chrome/browser/autocomplete/search_provider_unittest.cc File chrome/browser/autocomplete/search_provider_unittest.cc (right): ...
6 years, 3 months ago (2014-09-18 23:27:25 UTC) #12
Mark P
https://codereview.chromium.org/470313004/diff/120001/components/omnibox/search_provider.cc File components/omnibox/search_provider.cc (right): https://codereview.chromium.org/470313004/diff/120001/components/omnibox/search_provider.cc#newcode987 components/omnibox/search_provider.cc:987: transformed_results = is_keyword ? &transformed_keyword_history_results_ On 2014/09/18 23:27:24, groby ...
6 years, 3 months ago (2014-09-19 18:45:36 UTC) #13
groby-ooo-7-16
PTAL https://codereview.chromium.org/470313004/diff/160001/components/omnibox/search_provider.cc File components/omnibox/search_provider.cc (right): https://codereview.chromium.org/470313004/diff/160001/components/omnibox/search_provider.cc#newcode1136 components/omnibox/search_provider.cc:1136: // ScoreHistoryResults() allows autocompletion of multi-word, 1-visit On ...
6 years, 3 months ago (2014-09-22 20:20:48 UTC) #14
Mark P
lgtm https://codereview.chromium.org/470313004/diff/180001/components/omnibox/search_provider.h File components/omnibox/search_provider.h (right): https://codereview.chromium.org/470313004/diff/180001/components/omnibox/search_provider.h#newcode330 components/omnibox/search_provider.h:330: // Answers prefetch handling - finds previously displayed ...
6 years, 3 months ago (2014-09-22 20:23:50 UTC) #15
groby-ooo-7-16
https://codereview.chromium.org/470313004/diff/180001/components/omnibox/search_provider.h File components/omnibox/search_provider.h (right): https://codereview.chromium.org/470313004/diff/180001/components/omnibox/search_provider.h#newcode330 components/omnibox/search_provider.h:330: // Answers prefetch handling - finds previously displayed answer ...
6 years, 3 months ago (2014-09-24 20:30:35 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/470313004/220001
6 years, 3 months ago (2014-09-24 20:31:01 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/6986) android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/6875) android_dbg_tests_recipe ...
6 years, 3 months ago (2014-09-24 20:51:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/470313004/240001
6 years, 3 months ago (2014-09-24 21:07:38 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/15825)
6 years, 3 months ago (2014-09-24 23:30:23 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/470313004/240001
6 years, 3 months ago (2014-09-24 23:37:52 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_swarming/builds/15931)
6 years, 3 months ago (2014-09-25 01:17:17 UTC) #28
Mark P
Found one bug, likely is not your issue. https://codereview.chromium.org/470313004/diff/240001/components/omnibox/search_provider.cc File components/omnibox/search_provider.cc (right): https://codereview.chromium.org/470313004/diff/240001/components/omnibox/search_provider.cc#newcode969 components/omnibox/search_provider.cc:969: if ...
6 years, 2 months ago (2014-09-25 17:01:44 UTC) #29
Mark P
https://codereview.chromium.org/470313004/diff/240001/components/omnibox/search_provider.cc File components/omnibox/search_provider.cc (right): https://codereview.chromium.org/470313004/diff/240001/components/omnibox/search_provider.cc#newcode278 components/omnibox/search_provider.cc:278: should we clear the raw_ results here because we ...
6 years, 2 months ago (2014-09-25 17:07:27 UTC) #30
groby-ooo-7-16
https://codereview.chromium.org/470313004/diff/240001/components/omnibox/search_provider.cc File components/omnibox/search_provider.cc (right): https://codereview.chromium.org/470313004/diff/240001/components/omnibox/search_provider.cc#newcode278 components/omnibox/search_provider.cc:278: On 2014/09/25 17:07:26, Mark P wrote: > should we ...
6 years, 2 months ago (2014-09-25 17:29:32 UTC) #31
groby-ooo-7-16
Fixes uploaded. Trying a swarming run just because...
6 years, 2 months ago (2014-09-25 22:15:04 UTC) #32
Mark P
https://codereview.chromium.org/470313004/diff/260001/components/omnibox/search_provider.h File components/omnibox/search_provider.h (right): https://codereview.chromium.org/470313004/diff/260001/components/omnibox/search_provider.h#newcode249 components/omnibox/search_provider.h:249: // Adds a match for each result in |results| ...
6 years, 2 months ago (2014-09-25 22:36:45 UTC) #33
groby-ooo-7-16
Problem found - a reference that shouldn't have been a reference. Gah. https://codereview.chromium.org/470313004/diff/260001/components/omnibox/search_provider.h File components/omnibox/search_provider.h ...
6 years, 2 months ago (2014-09-26 00:20:42 UTC) #34
Mark P
On 2014/09/26 00:20:42, groby wrote: > Problem found - a reference that shouldn't have been ...
6 years, 2 months ago (2014-09-26 00:25:13 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/470313004/320001
6 years, 2 months ago (2014-09-26 03:10:10 UTC) #37
commit-bot: I haz the power
Committed patchset #17 (id:320001) as 02b9cd558abf6ccc6f442c52ddd4d2ffafff689f
6 years, 2 months ago (2014-09-26 03:36:54 UTC) #38
commit-bot: I haz the power
6 years, 2 months ago (2014-09-26 03:37:29 UTC) #39
Message was sent while issue was closed.
Patchset 17 (id:??) landed as
https://crrev.com/e5fcee487262976448cde70e40ac6bbe11660f6b
Cr-Commit-Position: refs/heads/master@{#296873}

Powered by Google App Engine
This is Rietveld 408576698