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

Issue 14232019: Do not use a UIThreadSearchTermsData when validating a TemplateURL for which the Profile is NULL. (Closed)

Created:
7 years, 8 months ago by gab
Modified:
7 years, 8 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Visibility:
Public.

Description

Do not use a UIThreadSearchTermsData when validating a TemplateURL for which the Profile is NULL. This was otherwise firing a DCHECK (see https://code.google.com/p/chromium/issues/detail?id=231710#c3) that blocked new (yet to be committed) tests for issue 219419). BUG=231710, 219419 TEST=Fixes yet to be committed tests for issue 219419. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194949

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move logic to GetTemplateURL. #

Total comments: 4

Patch Set 3 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -9 lines) Patch
M chrome/browser/search_engines/template_url_parser.h View 1 2 1 chunk +9 lines, -7 lines 0 comments Download
M chrome/browser/search_engines/template_url_parser.cc View 1 2 2 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
gab
7 years, 8 months ago (2013-04-17 22:09:01 UTC) #1
Peter Kasting
https://codereview.chromium.org/14232019/diff/1/chrome/browser/search_engines/template_url.cc File chrome/browser/search_engines/template_url.cc (right): https://codereview.chromium.org/14232019/diff/1/chrome/browser/search_engines/template_url.cc#newcode372 chrome/browser/search_engines/template_url.cc:372: // results in the same thing (relevant UIThreadSearchTermsData methods ...
7 years, 8 months ago (2013-04-17 22:11:56 UTC) #2
gab
https://codereview.chromium.org/14232019/diff/1/chrome/browser/search_engines/template_url.cc File chrome/browser/search_engines/template_url.cc (right): https://codereview.chromium.org/14232019/diff/1/chrome/browser/search_engines/template_url.cc#newcode372 chrome/browser/search_engines/template_url.cc:372: // results in the same thing (relevant UIThreadSearchTermsData methods ...
7 years, 8 months ago (2013-04-17 22:46:50 UTC) #3
Peter Kasting
LGTM with comment changes https://codereview.chromium.org/14232019/diff/3002/chrome/browser/search_engines/template_url_parser.cc File chrome/browser/search_engines/template_url_parser.cc (right): https://codereview.chromium.org/14232019/diff/3002/chrome/browser/search_engines/template_url_parser.cc#newcode316 chrome/browser/search_engines/template_url_parser.cc:316: // validity checks on non-UI ...
7 years, 8 months ago (2013-04-17 22:50:06 UTC) #4
gab
Thanks, done! https://codereview.chromium.org/14232019/diff/3002/chrome/browser/search_engines/template_url_parser.cc File chrome/browser/search_engines/template_url_parser.cc (right): https://codereview.chromium.org/14232019/diff/3002/chrome/browser/search_engines/template_url_parser.cc#newcode316 chrome/browser/search_engines/template_url_parser.cc:316: // validity checks on non-UI threads. On ...
7 years, 8 months ago (2013-04-18 15:00:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gab@chromium.org/14232019/10001
7 years, 8 months ago (2013-04-18 15:00:55 UTC) #6
commit-bot: I haz the power
7 years, 8 months ago (2013-04-18 16:54:06 UTC) #7
Message was sent while issue was closed.
Change committed as 194949

Powered by Google App Engine
This is Rietveld 408576698