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

Issue 2516963002: Fix TemplateUrl::MatchesData comparison of search_terms_replacement_key (Closed)

Created:
4 years, 1 month ago by Alexander Yashkin
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix TemplateUrl::MatchesData comparison of search_terms_replacement_key Current TemplateUrl constructor performs replacement of search_terms_replacement_key field after initialization from TemplateURLData. This replacement was not handled correctly in TemplateUrl::MatchesData function. As result, TemplateUrl created from TemplateUrlData for google engine could not be matched to its own source data. R=pkasting@chromium.org Committed: https://crrev.com/58606e51c44b74f89cf5fbbb370a78731acd942a Cr-Commit-Position: refs/heads/master@{#433504}

Patch Set 1 #

Total comments: 4

Patch Set 2 : More fixes after review #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -20 lines) Patch
M components/search_engines/template_url.cc View 1 5 chunks +37 lines, -20 lines 2 comments Download
M components/search_engines/template_url_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Alexander Yashkin
4 years, 1 month ago (2016-11-20 12:10:02 UTC) #1
Peter Kasting
LGTM Did this trigger any bugs you noticed? Or just saw it in passing? https://codereview.chromium.org/2516963002/diff/1/components/search_engines/template_url.cc ...
4 years, 1 month ago (2016-11-21 02:24:50 UTC) #2
Alexander Yashkin
On 2016/11/21 at 02:24:50, pkasting wrote: > LGTM > > Did this trigger any bugs ...
4 years, 1 month ago (2016-11-21 07:45:30 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2516963002/20001
4 years, 1 month ago (2016-11-21 08:01:27 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-21 10:50:02 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/58606e51c44b74f89cf5fbbb370a78731acd942a Cr-Commit-Position: refs/heads/master@{#433504}
4 years, 1 month ago (2016-11-21 10:51:52 UTC) #10
Marc Treib
https://codereview.chromium.org/2516963002/diff/20001/components/search_engines/template_url.cc File components/search_engines/template_url.cc (right): https://codereview.chromium.org/2516963002/diff/20001/components/search_engines/template_url.cc#newcode651 components/search_engines/template_url.cc:651: } else if (parameter == kGoogleInstantExtendedEnabledKey) { Post-commit drive-by: ...
4 years ago (2016-11-23 10:27:43 UTC) #12
Alexander Yashkin
https://codereview.chromium.org/2516963002/diff/20001/components/search_engines/template_url.cc File components/search_engines/template_url.cc (right): https://codereview.chromium.org/2516963002/diff/20001/components/search_engines/template_url.cc#newcode651 components/search_engines/template_url.cc:651: } else if (parameter == kGoogleInstantExtendedEnabledKey) { On 2016/11/23 ...
4 years ago (2016-11-23 10:41:51 UTC) #13
Alexander Yashkin
On 2016/11/23 at 10:41:51, Alexander Yashkin wrote: > https://codereview.chromium.org/2516963002/diff/20001/components/search_engines/template_url.cc > File components/search_engines/template_url.cc (right): > > ...
4 years ago (2016-11-23 11:00:12 UTC) #14
Peter Kasting
3 years, 10 months ago (2017-01-25 23:54:09 UTC) #15
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2654093004/ by pkasting@chromium.org.

The reason for reverting is: Part 2 of 2: Reverting change that caused bug
680197.

Powered by Google App Engine
This is Rietveld 408576698