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

Issue 11348135: Fix TemplateURLFetcherTest.* for Android. (Closed)

Created:
8 years, 1 month ago by michaelbai
Modified:
8 years, 1 month ago
Reviewers:
Peter Kasting, sky
CC:
pliard, chromium-reviews, ilevy+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, peter+watch_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

Fix TemplateURLFetcherTest.* for Android. BUG=139427 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169001

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Patch Set 3 : #

Patch Set 4 : Removed kCountryIDNotSet #

Patch Set 5 : Moved InitCountryCode() #

Patch Set 6 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -20 lines) Patch
M build/android/gtest_filter/unit_tests_disabled View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/browser/search_engines/template_url_prepopulate_data.cc View 1 2 3 4 3 chunks +11 lines, -17 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
michaelbai
8 years, 1 month ago (2012-11-19 20:30:59 UTC) #1
sky
https://codereview.chromium.org/11348135/diff/1/chrome/browser/search_engines/template_url_service_test_util.cc File chrome/browser/search_engines/template_url_service_test_util.cc (right): https://codereview.chromium.org/11348135/diff/1/chrome/browser/search_engines/template_url_service_test_util.cc#newcode122 chrome/browser/search_engines/template_url_service_test_util.cc:122: TemplateURLPrepopulateData::InitCountryCode("US"); This seems like a more fundamental problem. Shouldn't ...
8 years, 1 month ago (2012-11-19 22:50:00 UTC) #2
michaelbai
https://codereview.chromium.org/11348135/diff/1/chrome/browser/search_engines/template_url_service_test_util.cc File chrome/browser/search_engines/template_url_service_test_util.cc (right): https://codereview.chromium.org/11348135/diff/1/chrome/browser/search_engines/template_url_service_test_util.cc#newcode122 chrome/browser/search_engines/template_url_service_test_util.cc:122: TemplateURLPrepopulateData::InitCountryCode("US"); Did you mean TestingProfile? On 2012/11/19 22:50:01, sky ...
8 years, 1 month ago (2012-11-19 23:05:38 UTC) #3
Peter Kasting
https://codereview.chromium.org/11348135/diff/1/chrome/browser/search_engines/template_url_service_test_util.cc File chrome/browser/search_engines/template_url_service_test_util.cc (right): https://codereview.chromium.org/11348135/diff/1/chrome/browser/search_engines/template_url_service_test_util.cc#newcode122 chrome/browser/search_engines/template_url_service_test_util.cc:122: TemplateURLPrepopulateData::InitCountryCode("US"); On 2012/11/19 22:50:01, sky wrote: > This seems ...
8 years, 1 month ago (2012-11-20 04:06:13 UTC) #4
michaelbai
PTAL https://codereview.chromium.org/11348135/diff/1/chrome/browser/search_engines/template_url_service_test_util.cc File chrome/browser/search_engines/template_url_service_test_util.cc (right): https://codereview.chromium.org/11348135/diff/1/chrome/browser/search_engines/template_url_service_test_util.cc#newcode122 chrome/browser/search_engines/template_url_service_test_util.cc:122: TemplateURLPrepopulateData::InitCountryCode("US"); It looks like the original author want ...
8 years, 1 month ago (2012-11-20 19:03:33 UTC) #5
Peter Kasting
No, don't do this. Now you have a DLOG(WARNING) that gets hit every time we ...
8 years, 1 month ago (2012-11-20 21:36:35 UTC) #6
michaelbai
Removed kCountryIDNotSet, PTAL
8 years, 1 month ago (2012-11-20 21:59:32 UTC) #7
Peter Kasting
LGTM; I suggest also moving InitCountryCode() into that same #ifdef block with the other Android ...
8 years, 1 month ago (2012-11-20 22:01:51 UTC) #8
michaelbai
Moved InitCountryCode(), thanks
8 years, 1 month ago (2012-11-20 22:08:38 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/11348135/2002
8 years, 1 month ago (2012-11-20 22:09:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/michaelbai@chromium.org/11348135/5003
8 years, 1 month ago (2012-11-21 05:51:46 UTC) #11
commit-bot: I haz the power
8 years, 1 month ago (2012-11-21 07:35:43 UTC) #12
Change committed as 169001

Powered by Google App Engine
This is Rietveld 408576698