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

Issue 345803002: Move GoogleImageSearchSource() from template_url.cc to UIThreadSearchTermsData (Closed)

Created:
6 years, 6 months ago by hashimoto
Modified:
6 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Base URL:
http://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move GoogleImageSearchSource() from template_url.cc to UIThreadSearchTermsData To stop depending on chrome::VersionInfo from TemplateURL. BUG=386365 TEST=unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278702

Patch Set 1 #

Patch Set 2 : Add ChromeSearchTermsData #

Patch Set 3 : No ChromeSearchTermsData, remove DCHECK, add comment #

Total comments: 2

Patch Set 4 : rebase & fix comment #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -19 lines) Patch
M chrome/browser/search_engines/template_url.cc View 1 2 3 4 chunks +8 lines, -19 lines 0 comments Download
M chrome/browser/search_engines/template_url_unittest.cc View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/ui_thread_search_terms_data.h View 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/search_engines/ui_thread_search_terms_data.cc View 1 2 3 2 chunks +19 lines, -0 lines 0 comments Download
M components/search_engines/search_terms_data.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/search_engines/search_terms_data.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
hashimoto
6 years, 6 months ago (2014-06-19 19:45:37 UTC) #1
hashimoto
On 2014/06/19 19:45:37, hashimoto wrote: It should be OK to put this code in UIThreadSearchTermsData ...
6 years, 6 months ago (2014-06-19 19:49:54 UTC) #2
Peter Kasting
Why does this have to be in UIThreadSearchTermsData, instead of being in SearchTermsData? Can chrome::VersionInfo ...
6 years, 6 months ago (2014-06-19 21:05:11 UTC) #3
hashimoto
On 2014/06/19 21:05:11, Peter Kasting wrote: > Why does this have to be in UIThreadSearchTermsData, ...
6 years, 6 months ago (2014-06-19 22:29:52 UTC) #4
Peter Kasting
I think adding a new base class for UIThreadSearchTermsData is excessive given that no one ...
6 years, 6 months ago (2014-06-19 22:54:23 UTC) #5
hashimoto
On 2014/06/19 22:54:23, Peter Kasting wrote: > I think adding a new base class for ...
6 years, 6 months ago (2014-06-19 23:15:29 UTC) #6
Peter Kasting
LGTM https://codereview.chromium.org/345803002/diff/60001/chrome/browser/search_engines/ui_thread_search_terms_data.cc File chrome/browser/search_engines/ui_thread_search_terms_data.cc (right): https://codereview.chromium.org/345803002/diff/60001/chrome/browser/search_engines/ui_thread_search_terms_data.cc#newcode150 chrome/browser/search_engines/ui_thread_search_terms_data.cc:150: // It's acutally OK to call this method ...
6 years, 6 months ago (2014-06-20 00:33:03 UTC) #7
hashimoto
https://codereview.chromium.org/345803002/diff/60001/chrome/browser/search_engines/ui_thread_search_terms_data.cc File chrome/browser/search_engines/ui_thread_search_terms_data.cc (right): https://codereview.chromium.org/345803002/diff/60001/chrome/browser/search_engines/ui_thread_search_terms_data.cc#newcode150 chrome/browser/search_engines/ui_thread_search_terms_data.cc:150: // It's acutally OK to call this method on ...
6 years, 6 months ago (2014-06-20 05:09:28 UTC) #8
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-20 05:09:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/345803002/100001
6 years, 6 months ago (2014-06-20 05:15:08 UTC) #10
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 6 months ago (2014-06-20 06:03:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/345803002/120001
6 years, 6 months ago (2014-06-20 06:04:56 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 13:40:32 UTC) #13
Message was sent while issue was closed.
Change committed as 278702

Powered by Google App Engine
This is Rietveld 408576698