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

Issue 10828401: Add a getter for search provider logos. (Closed)

Created:
8 years, 4 months ago by samarth
Modified:
8 years, 3 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Add a getter for search provider logos. Add locations of "Google" logos to the prepopulated data. BUG=140955 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155130

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed msw's comments. #

Patch Set 3 : Rebase and switch to a simple getter. #

Total comments: 26

Patch Set 4 : Fixed nits and added size enum. #

Total comments: 8

Patch Set 5 : Renamed enum and other nits. #

Total comments: 9

Patch Set 6 : Fixed nits. #

Patch Set 7 : Rebase. #

Patch Set 8 : Rebase. #

Patch Set 9 : Rebase and fixed nit. #

Patch Set 10 : Fix bad merge. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -9 lines) Patch
M chrome/browser/search_engines/template_url_prepopulate_data.h View 1 2 3 4 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.cc View 1 2 3 4 5 6 7 8 9 3 chunks +33 lines, -9 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc View 1 2 3 4 5 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
samarth
Hey Mike, Dead simple first change to add new fields for search provider logos. I'm ...
8 years, 4 months ago (2012-08-20 22:39:13 UTC) #1
msw
> What do you think of logo_url and logo_2x_url instead? "[100|200]_percent" matches src/chrome/app/theme/[default|touch]_[100|200]_percent/, and those ...
8 years, 4 months ago (2012-08-21 00:37:17 UTC) #2
samarth
OK, let's keep the same naming scheme -- it's worth being consistent. Moved around the ...
8 years, 4 months ago (2012-08-22 03:02:07 UTC) #3
msw
LGTM. +Peter for review and OWNERS; please take a look, thanks! Can/should we change Google ...
8 years, 4 months ago (2012-08-22 07:38:12 UTC) #4
Peter Kasting
You can't simply add fields to TemplateURLData, they'd need to be persisted in the keyword ...
8 years, 4 months ago (2012-08-25 04:33:29 UTC) #5
samarth
On 2012/08/25 04:33:29, Peter Kasting wrote: > You can't simply add fields to TemplateURLData, they'd ...
8 years, 3 months ago (2012-08-27 21:39:35 UTC) #6
msw
http://codereview.chromium.org/10828401/diff/10001/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/10828401/diff/10001/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3486 chrome/browser/search_engines/template_url_prepopulate_data.cc:3486: // Restricted to UI thread because GetEngineType() is so ...
8 years, 3 months ago (2012-08-27 21:57:26 UTC) #7
Peter Kasting
http://codereview.chromium.org/10828401/diff/10001/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/10828401/diff/10001/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3287 chrome/browser/search_engines/template_url_prepopulate_data.cc:3287: Nit: Two blank lines above these section dividers http://codereview.chromium.org/10828401/diff/10001/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3301 ...
8 years, 3 months ago (2012-08-28 00:04:07 UTC) #8
samarth
I looked around for a standard way of specifying the 1x/2x sizes but didn't find ...
8 years, 3 months ago (2012-08-28 16:18:15 UTC) #9
msw
Some nits, please also update the CL title and description. http://codereview.chromium.org/10828401/diff/15001/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/10828401/diff/15001/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3304 ...
8 years, 3 months ago (2012-08-28 18:22:00 UTC) #10
samarth
Address msw's comment and updated patch description. Thanks, Samarth http://codereview.chromium.org/10828401/diff/15001/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/10828401/diff/15001/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3304 chrome/browser/search_engines/template_url_prepopulate_data.cc:3304: ...
8 years, 3 months ago (2012-08-28 21:22:46 UTC) #11
msw
LGTM with a hilarious nit :) http://codereview.chromium.org/10828401/diff/19001/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/10828401/diff/19001/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3289 chrome/browser/search_engines/template_url_prepopulate_data.cc:3289: // Logo URLs ...
8 years, 3 months ago (2012-08-28 22:26:22 UTC) #12
Peter Kasting
LGTM http://codereview.chromium.org/10828401/diff/19001/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/10828401/diff/19001/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3493 chrome/browser/search_engines/template_url_prepopulate_data.cc:3493: } else if (size == LOGO_200_PERCENT) { Nit: ...
8 years, 3 months ago (2012-08-28 23:20:19 UTC) #13
samarth
Waiting for trybot results and then I'll submit. Thanks for the reviews! Samarth http://codereview.chromium.org/10828401/diff/19001/chrome/browser/search_engines/template_url_prepopulate_data.cc File ...
8 years, 3 months ago (2012-08-28 23:29:20 UTC) #14
Peter Kasting
http://codereview.chromium.org/10828401/diff/19001/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/10828401/diff/19001/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3493 chrome/browser/search_engines/template_url_prepopulate_data.cc:3493: } else if (size == LOGO_200_PERCENT) { On 2012/08/28 ...
8 years, 3 months ago (2012-08-28 23:32:54 UTC) #15
M-A Ruel
Warning: do not trust the try job results on patchset 6: many are green but ...
8 years, 3 months ago (2012-09-02 18:56:00 UTC) #16
samarth
On 2012/08/28 23:32:54, Peter Kasting wrote: > I think it's nice to be brief since ...
8 years, 3 months ago (2012-09-06 03:10:11 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/samarth@chromium.org/10828401/33003
8 years, 3 months ago (2012-09-06 03:10:36 UTC) #18
commit-bot: I haz the power
8 years, 3 months ago (2012-09-06 05:54:54 UTC) #19
Change committed as 155130

Powered by Google App Engine
This is Rietveld 408576698