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

Issue 23621037: Send URLs on non-zero prefix suggest requests also. (Closed)

Created:
7 years, 3 months ago by H Fung
Modified:
7 years, 1 month ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su, mabasrai
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Send URLs on non-zero prefix suggest requests also. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233494

Patch Set 1 : #

Patch Set 2 : #

Total comments: 30

Patch Set 3 : Fix bugs with field trial activation, minor cleanup #

Patch Set 4 : Synced and merged #

Patch Set 5 : Move checking of provider type. #

Patch Set 6 : Move set_current_page_url #

Total comments: 26

Patch Set 7 : Check template engine, modify comments #

Patch Set 8 : rebase #

Patch Set 9 : Use domain matching between search provider for HTTPS pages #

Total comments: 14

Patch Set 10 : Add test #

Patch Set 11 : Fix includes lost from using git. #

Patch Set 12 : Fix test. #

Total comments: 14

Patch Set 13 : Mostly formatting #

Patch Set 14 : Try to fix more tests #

Total comments: 4

Patch Set 15 : Add TODO, modify comment #

Patch Set 16 : Try to fix DCHECK failure in test. #

Patch Set 17 : Add NULL check to prevent test seg faults. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+312 lines, -129 lines) Patch
M chrome/browser/autocomplete/search_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +81 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/search_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +131 lines, -0 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.h View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -13 lines 0 comments Download
M chrome/browser/autocomplete/zero_suggest_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +22 lines, -93 lines 0 comments Download
M chrome/browser/omnibox/omnibox_field_trial.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/omnibox/omnibox_field_trial.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url.h View 1 2 3 4 5 6 7 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url.cc View 1 2 3 4 5 6 7 8 9 6 chunks +13 lines, -14 lines 0 comments Download
M chrome/browser/search_engines/template_url_unittest.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_edit_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
H Fung
Hi Peter, Sorry for sending you another review. We want to send the URL to ...
7 years, 3 months ago (2013-09-18 18:34:11 UTC) #1
Peter Kasting
https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode313 chrome/browser/autocomplete/autocomplete_controller.cc:313: zero_suggest_provider_->StartZeroSuggest( Doesn't this need to happen _after_ the current ...
7 years, 3 months ago (2013-09-19 21:20:06 UTC) #2
H Fung
Thanks Peter, PTAL. https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode313 chrome/browser/autocomplete/autocomplete_controller.cc:313: zero_suggest_provider_->StartZeroSuggest( On 2013/09/19 21:20:06, Peter Kasting ...
7 years, 3 months ago (2013-09-21 01:13:25 UTC) #3
Peter Kasting
Quick reply in case you have time to investigate and fix before I get around ...
7 years, 3 months ago (2013-09-21 01:15:55 UTC) #4
Peter Kasting
Sorry, somehow this fell off my radar. Please ping me if I take more than ...
7 years, 2 months ago (2013-10-08 01:10:24 UTC) #5
H Fung
Sorry I haven't replied until now. PTAL. https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/search_provider.cc#newcode850 chrome/browser/autocomplete/search_provider.cc:850: // URLs ...
7 years, 1 month ago (2013-10-30 23:56:15 UTC) #6
Peter Kasting
https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/search_provider.cc#newcode850 chrome/browser/autocomplete/search_provider.cc:850: // URLs when requesting the page, so the information ...
7 years, 1 month ago (2013-10-30 23:58:42 UTC) #7
H Fung
On 2013/10/30 23:58:42, Peter Kasting wrote: > https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/search_provider.cc > File chrome/browser/autocomplete/search_provider.cc (right): > > https://codereview.chromium.org/23621037/diff/5001/chrome/browser/autocomplete/search_provider.cc#newcode850 ...
7 years, 1 month ago (2013-10-31 01:22:14 UTC) #8
Peter Kasting
It doesn't look like this change unittests CanSendURL(). Please add a test. https://codereview.chromium.org/23621037/diff/502001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc ...
7 years, 1 month ago (2013-10-31 21:55:51 UTC) #9
H Fung
I'm trying to figure out why the tab sync test is not working and why ...
7 years, 1 month ago (2013-11-01 19:16:49 UTC) #10
H Fung
I've fixed the test and also sync'ed. PTAL.
7 years, 1 month ago (2013-11-02 01:42:46 UTC) #11
Peter Kasting
LGTM https://codereview.chromium.org/23621037/diff/972001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/23621037/diff/972001/chrome/browser/autocomplete/search_provider.cc#newcode941 chrome/browser/autocomplete/search_provider.cc:941: || Nit: Hmm... operators not on the end ...
7 years, 1 month ago (2013-11-05 04:17:51 UTC) #12
H Fung
Thanks Peter for the reviews! https://codereview.chromium.org/23621037/diff/972001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/23621037/diff/972001/chrome/browser/autocomplete/search_provider.cc#newcode941 chrome/browser/autocomplete/search_provider.cc:941: || On 2013/11/05 04:17:51, ...
7 years, 1 month ago (2013-11-05 07:00:15 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hfung@chromium.org/23621037/1242002
7 years, 1 month ago (2013-11-05 07:05:26 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-05 07:50:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hfung@chromium.org/23621037/1492001
7 years, 1 month ago (2013-11-05 19:21:36 UTC) #16
Peter Kasting
https://codereview.chromium.org/23621037/diff/1492001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/23621037/diff/1492001/chrome/browser/autocomplete/search_provider.cc#newcode940 chrome/browser/autocomplete/search_provider.cc:940: AutocompleteInput::INSTANT_NEW_TAB_PAGE_WITH_FAKEBOX_AS_STARTING_FOCUS; Are you planning a followup change to shorten ...
7 years, 1 month ago (2013-11-05 19:25:45 UTC) #17
H Fung
https://codereview.chromium.org/23621037/diff/1492001/chrome/browser/autocomplete/search_provider.cc File chrome/browser/autocomplete/search_provider.cc (right): https://codereview.chromium.org/23621037/diff/1492001/chrome/browser/autocomplete/search_provider.cc#newcode940 chrome/browser/autocomplete/search_provider.cc:940: AutocompleteInput::INSTANT_NEW_TAB_PAGE_WITH_FAKEBOX_AS_STARTING_FOCUS; On 2013/11/05 19:25:45, Peter Kasting wrote: > Are ...
7 years, 1 month ago (2013-11-05 19:33:26 UTC) #18
commit-bot: I haz the power
Failed to trigger a try job on linux_aura HTTP Error 400: Bad Request
7 years, 1 month ago (2013-11-05 20:02:45 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hfung@chromium.org/23621037/1802001
7 years, 1 month ago (2013-11-05 20:04:40 UTC) #20
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=94103
7 years, 1 month ago (2013-11-05 21:46:44 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hfung@chromium.org/23621037/2022001
7 years, 1 month ago (2013-11-06 02:17:49 UTC) #22
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=172191
7 years, 1 month ago (2013-11-06 04:02:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hfung@chromium.org/23621037/2162001
7 years, 1 month ago (2013-11-06 18:19:34 UTC) #24
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 1 month ago (2013-11-07 00:01:37 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hfung@chromium.org/23621037/2162001
7 years, 1 month ago (2013-11-07 00:20:49 UTC) #26
commit-bot: I haz the power
7 years, 1 month ago (2013-11-07 06:04:56 UTC) #27
Message was sent while issue was closed.
Change committed as 233494

Powered by Google App Engine
This is Rietveld 408576698