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

Issue 2974001: Allow the default search providers to be specified by the preferences files,... (Closed)

Created:
10 years, 5 months ago by cpu_(ooo_6.6-7.5)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ben+cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Allow the default search providers to be specified by the preferences files, overriding the built-in set. - Per locale providers not allowed. BUG=47440 TEST=unittest included, for manual testing see bug. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52228

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 8

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 10

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 12

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -32 lines) Patch
M chrome/browser/search_engines/template_url_model.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.cc View 1 2 3 4 5 6 7 8 3 chunks +105 lines, -28 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data_unittest.cc View 1 2 3 4 5 6 7 2 chunks +48 lines, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
cpu_(ooo_6.6-7.5)
I wanted to preserve the const-ness of the existing structure so I had to do ...
10 years, 5 months ago (2010-07-12 17:04:30 UTC) #1
Peter Kasting
http://codereview.chromium.org/2974001/diff/6001/7001 File chrome/browser/search_engines/template_url_prepopulate_data.cc (left): http://codereview.chromium.org/2974001/diff/6001/7001#oldcode27 chrome/browser/search_engines/template_url_prepopulate_data.cc:27: namespace { Do not remove this. http://codereview.chromium.org/2974001/diff/6001/7001#oldcode66 chrome/browser/search_engines/template_url_prepopulate_data.cc:66: const ...
10 years, 5 months ago (2010-07-12 18:01:35 UTC) #2
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/2974001/diff/6001/7001 File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/2974001/diff/6001/7001#newcode2811 chrome/browser/search_engines/template_url_prepopulate_data.cc:2811: // This class is a work arround to the ...
10 years, 5 months ago (2010-07-12 18:46:03 UTC) #3
cpu_(ooo_6.6-7.5)
changes made, please look again.
10 years, 5 months ago (2010-07-13 00:27:53 UTC) #4
Glenn Wilson
http://codereview.chromium.org/2974001/diff/6/23001 File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/2974001/diff/6/23001#newcode2861 chrome/browser/search_engines/template_url_prepopulate_data.cc:2861: eng->Get(L"suggest_url", &val) && val->GetAsString(&suggest_url) && What would this do ...
10 years, 5 months ago (2010-07-13 00:51:19 UTC) #5
Peter Kasting
http://codereview.chromium.org/2974001/diff/6/23001 File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/2974001/diff/6/23001#newcode2802 chrome/browser/search_engines/template_url_prepopulate_data.cc:2802: int GetDataVersion() { We should read the data version ...
10 years, 5 months ago (2010-07-13 00:56:42 UTC) #6
cpu_(ooo_6.6-7.5)
code updated please look again. http://codereview.chromium.org/2974001/diff/6/23001 File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/2974001/diff/6/23001#newcode2841 chrome/browser/search_engines/template_url_prepopulate_data.cc:2841: TemplateURL* GetPrepopulatedTemplatefromPrefs(PrefService* prefs, int ...
10 years, 5 months ago (2010-07-13 01:45:10 UTC) #7
Peter Kasting
http://codereview.chromium.org/2974001/diff/35001/1005 File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/2974001/diff/35001/1005#newcode2792 chrome/browser/search_engines/template_url_prepopulate_data.cc:2792: int g_prepopulated_engine_data_version = 28; Nit: I think this use ...
10 years, 5 months ago (2010-07-13 18:02:01 UTC) #8
cpu_(ooo_6.6-7.5)
I think I got all the comments this time. please take a look again. http://codereview.chromium.org/2974001/diff/35001/1005 ...
10 years, 5 months ago (2010-07-13 20:36:16 UTC) #9
Peter Kasting
LGTM
10 years, 5 months ago (2010-07-13 20:40:39 UTC) #10
Glenn Wilson
LGTM
10 years, 5 months ago (2010-07-13 20:53:03 UTC) #11
cpu_(ooo_6.6-7.5)
10 years, 5 months ago (2010-07-13 21:08:09 UTC) #12
Thanks for your patience.

On 2010/07/13 20:40:39, Peter Kasting wrote:
> LGTM

Powered by Google App Engine
This is Rietveld 408576698