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

Issue 609493002: Propagate the search request params from the browser to the Instant search base page to fix the embe (Closed)

Created:
6 years, 2 months ago by kmadhusu
Modified:
6 years, 1 month ago
CC:
chromium-reviews, davidben+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, skanuj+watch_chromium.org, melevin+watch_chromium.org, tburkard+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, gavinp+prer_chromium.org, jfweitz+watch_chromium.org, David Black, jkarlin+watch_chromium.org, samarth+watch_chromium.org, chromium-apps-reviews_chromium.org, kmadhusu+watch_chromium.org, Jered
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Propagate the search request params from the browser to the Instant search base page to fix the embedded search request logging issues. - Adds an attribute in EmbeddedSearch SearchBox API to pass the embedded search request params (such as omnibox query suggestion stats, original query, etc) to the Instant search base page at the query submission time. Server side bug: b/17555463 Server side CL: cl/76305813 BUG=421258 TEST=none Committed: https://crrev.com/562c49c8edf16a40ef3f76fb6a57d7ac17331216 Cr-Commit-Position: refs/heads/master@{#304544}

Patch Set 1 : '' #

Total comments: 18

Patch Set 2 : Addressed comments #

Total comments: 2

Patch Set 3 : Addressed comment #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -27 lines) Patch
M chrome/browser/android/tab_android.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.cc View 1 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/search/instant_controller.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/search/instant_controller.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_search_prerenderer.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/search/instant_search_prerenderer.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/instant_search_prerenderer_unittest.cc View 1 3 chunks +29 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_ipc_router.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_ipc_router.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/search_ipc_router_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/OWNERS View 1 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/common/instant_types.h View 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/common/instant_types.cc View 1 2 chunks +60 lines, -0 lines 0 comments Download
A chrome/common/instant_types_unittest.cc View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/renderer/resources/extensions/searchbox_api.js View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.h View 3 chunks +4 lines, -1 line 0 comments Download
M chrome/renderer/searchbox/searchbox.cc View 3 chunks +8 lines, -1 line 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 3 chunks +39 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (19 generated)
kmadhusu
Please review. Thanks.
6 years, 1 month ago (2014-11-13 02:08:37 UTC) #16
samarth
Didn't do a thorough review but this generally looks OK to me. Thanks! Samarth https://codereview.chromium.org/609493002/diff/280001/chrome/common/instant_types.h ...
6 years, 1 month ago (2014-11-14 08:09:31 UTC) #17
kmadhusu
https://codereview.chromium.org/609493002/diff/280001/chrome/common/instant_types.h File chrome/common/instant_types.h (right): https://codereview.chromium.org/609493002/diff/280001/chrome/common/instant_types.h#newcode134 chrome/common/instant_types.h:134: // Embedded search request logging stats params. On 2014/11/14 ...
6 years, 1 month ago (2014-11-14 18:54:58 UTC) #18
kmadhusu
jschuh@: Please review render_messages.h tedchoc@: Please review tab_android.cc mpearson@: Please review entire CL (sanity check). ...
6 years, 1 month ago (2014-11-14 19:25:04 UTC) #20
Ted C
On 2014/11/14 19:25:04, kmadhusu wrote: > jschuh@: Please review render_messages.h > tedchoc@: Please review tab_android.cc ...
6 years, 1 month ago (2014-11-15 01:50:13 UTC) #21
Mark P
lgtm I have sanity checked the whole changelist. I'm not that familiar with the prerender ...
6 years, 1 month ago (2014-11-17 19:15:59 UTC) #22
jschuh
lgtm for the part of ipc security that can be reviewed on the client.
6 years, 1 month ago (2014-11-17 21:34:55 UTC) #23
kmadhusu
mpearson@: Addressed comments. Thanks. https://codereview.chromium.org/609493002/diff/280001/chrome/browser/android/tab_android.cc File chrome/browser/android/tab_android.cc (right): https://codereview.chromium.org/609493002/diff/280001/chrome/browser/android/tab_android.cc#newcode61 chrome/browser/android/tab_android.cc:61: On 2014/11/17 19:15:58, Mark P ...
6 years, 1 month ago (2014-11-17 22:52:05 UTC) #25
kmadhusu
sky@: Please review chrome/common/OWNERS file. Thanks.
6 years, 1 month ago (2014-11-17 22:53:20 UTC) #27
Mark P
still lgtm for the record
6 years, 1 month ago (2014-11-17 23:08:53 UTC) #28
sky
LGTM https://codereview.chromium.org/609493002/diff/320001/chrome/common/instant_types_unittest.cc File chrome/common/instant_types_unittest.cc (right): https://codereview.chromium.org/609493002/diff/320001/chrome/common/instant_types_unittest.cc#newcode56 chrome/common/instant_types_unittest.cc:56: EXPECT_EQ(cases[i].expected_search_query, Use << for these so that if ...
6 years, 1 month ago (2014-11-18 00:12:22 UTC) #29
kmadhusu
https://codereview.chromium.org/609493002/diff/320001/chrome/common/instant_types_unittest.cc File chrome/common/instant_types_unittest.cc (right): https://codereview.chromium.org/609493002/diff/320001/chrome/common/instant_types_unittest.cc#newcode56 chrome/common/instant_types_unittest.cc:56: EXPECT_EQ(cases[i].expected_search_query, On 2014/11/18 00:12:22, sky wrote: > Use << ...
6 years, 1 month ago (2014-11-18 00:58:27 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/609493002/360001
6 years, 1 month ago (2014-11-18 01:10:13 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:360001)
6 years, 1 month ago (2014-11-18 02:08:24 UTC) #33
commit-bot: I haz the power
6 years, 1 month ago (2014-11-18 02:09:00 UTC) #34
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/562c49c8edf16a40ef3f76fb6a57d7ac17331216
Cr-Commit-Position: refs/heads/master@{#304544}

Powered by Google App Engine
This is Rietveld 408576698