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

Issue 1141743003: [Mobile] Upstream fix for yandex search engine (Closed)

Created:
5 years, 7 months ago by sdefresne
Modified:
5 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, vasilii+watch_chromium.org, qsr
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mobile] Upstream fix for yandex search engine Use a different path for template URL for yandex search on mobile to avoid an extra redirection. Mobile should use http://yandex.ru/touchsearch?text=${query} or http://yandex.ru/padsearch?text=${query} depending on the device form factor instead of http://yandex.ru/yandsearch?text=${query}. The issue was reported by yandex and fixed in downstream iOS fork. Upstream it now that the code is componentized. TEST=Set your locale to Russian, launch Chrome for iOS, select Yandex as the search engine, type a query in the omnibox to do a search, check that you're sent to /touchsearch directly, not via /yandsearch first. BUG=b/7024148 Committed: https://crrev.com/0ea1107bf2c1a0532d1c10a3666cafb9047abbb6 Cr-Commit-Position: refs/heads/master@{#330500}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address pkasting comments #

Total comments: 2

Patch Set 3 : Always switch on form factor when substituting {yandex:searchPath} #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M components/search_engines/prepopulated_engines.json View 1 4 chunks +4 lines, -4 lines 0 comments Download
M components/search_engines/template_url.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
sdefresne
Please take a look. This is upstreaming a fix we had for a long time ...
5 years, 7 months ago (2015-05-13 14:27:54 UTC) #2
sdefresne
qsr: FYI
5 years, 7 months ago (2015-05-13 14:28:17 UTC) #3
Peter Kasting
https://codereview.chromium.org/1141743003/diff/1/components/search_engines/prepopulated_engines.json File components/search_engines/prepopulated_engines.json (right): https://codereview.chromium.org/1141743003/diff/1/components/search_engines/prepopulated_engines.json#newcode33 components/search_engines/prepopulated_engines.json:33: "kCurrentDataVersion": 82 You need to increment this. https://codereview.chromium.org/1141743003/diff/1/components/search_engines/template_url.cc File ...
5 years, 7 months ago (2015-05-13 22:56:55 UTC) #4
sdefresne
Thank you for the review. PTAL. https://codereview.chromium.org/1141743003/diff/1/components/search_engines/prepopulated_engines.json File components/search_engines/prepopulated_engines.json (right): https://codereview.chromium.org/1141743003/diff/1/components/search_engines/prepopulated_engines.json#newcode33 components/search_engines/prepopulated_engines.json:33: "kCurrentDataVersion": 82 On ...
5 years, 7 months ago (2015-05-18 12:35:45 UTC) #5
Peter Kasting
LGTM https://codereview.chromium.org/1141743003/diff/20001/components/search_engines/template_url.cc File components/search_engines/template_url.cc (right): https://codereview.chromium.org/1141743003/diff/20001/components/search_engines/template_url.cc#newcode691 components/search_engines/template_url.cc:691: #if defined(OS_ANDROID) || defined(OS_IOS) Maybe instead of the ...
5 years, 7 months ago (2015-05-18 18:25:58 UTC) #6
sdefresne
Thank you for the review. https://codereview.chromium.org/1141743003/diff/20001/components/search_engines/template_url.cc File components/search_engines/template_url.cc (right): https://codereview.chromium.org/1141743003/diff/20001/components/search_engines/template_url.cc#newcode691 components/search_engines/template_url.cc:691: #if defined(OS_ANDROID) || defined(OS_IOS) ...
5 years, 7 months ago (2015-05-19 09:09:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1141743003/40001
5 years, 7 months ago (2015-05-19 09:09:52 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-19 10:03:40 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-19 10:05:28 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0ea1107bf2c1a0532d1c10a3666cafb9047abbb6
Cr-Commit-Position: refs/heads/master@{#330500}

Powered by Google App Engine
This is Rietveld 408576698