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

Issue 10697087: Remove content->app dependency in template_url_prepopulate_data.cc. (Closed)

Created:
8 years, 5 months ago by Philippe
Modified:
8 years, 5 months ago
Reviewers:
bulach, SteveT, felipeg
CC:
chromium-reviews, bulach, felipeg, digit1
Visibility:
Public.

Description

Remove content->app dependency in template_url_prepopulate_data.cc. This is part of Chrome for Android upstreaming and is needed to link unit_tests successfully. GetCurrentCountryID() on Android was calling TemplateURLPrepopulateData::GetCountryCodeAtInstall() which is implemented internally on the app side. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145539

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Steve's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -9 lines) Patch
M chrome/browser/search_engines/search_provider_install_data_unittest.cc View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.h View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.cc View 1 4 chunks +21 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Philippe
8 years, 5 months ago (2012-07-05 12:20:17 UTC) #1
felipeg
lgtm
8 years, 5 months ago (2012-07-05 13:27:28 UTC) #2
bulach
lgtm for the android side, but owners need to approve :) thanks!
8 years, 5 months ago (2012-07-05 13:37:40 UTC) #3
SteveT
OWNERS lgtm with a nit/question inline. https://chromiumcodereview.appspot.com/10697087/diff/1/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): https://chromiumcodereview.appspot.com/10697087/diff/1/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3454 chrome/browser/search_engines/template_url_prepopulate_data.cc:3454: LOG(ERROR) << "Invalid ...
8 years, 5 months ago (2012-07-05 13:38:28 UTC) #4
Philippe
Thanks. https://chromiumcodereview.appspot.com/10697087/diff/1/chrome/browser/search_engines/template_url_prepopulate_data.cc File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): https://chromiumcodereview.appspot.com/10697087/diff/1/chrome/browser/search_engines/template_url_prepopulate_data.cc#newcode3454 chrome/browser/search_engines/template_url_prepopulate_data.cc:3454: LOG(ERROR) << "Invalid country code: " << country_code; ...
8 years, 5 months ago (2012-07-05 14:27:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pliard@chromium.org/10697087/6001
8 years, 5 months ago (2012-07-05 14:37:54 UTC) #6
commit-bot: I haz the power
8 years, 5 months ago (2012-07-05 15:57:49 UTC) #7
Change committed as 145539

Powered by Google App Engine
This is Rietveld 408576698