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

Issue 203079: Implement GetCurrentCountryID() for Linux.... (Closed)

Created:
11 years, 3 months ago by James Su
Modified:
9 years, 7 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

Implement GetCurrentCountryID() for Linux. This CL implements GetCurrentCountryID() function for Linux. BUG=none TEST=none

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -1 line) Patch
M chrome/browser/search_engines/template_url_prepopulate_data.cc View 1 2 chunks +28 lines, -1 line 2 comments Download

Messages

Total messages: 4 (0 generated)
James Su
Please help review this CL. Thanks James Su
11 years, 3 months ago (2009-09-16 11:23:54 UTC) #1
Peter Kasting
LGTM, but you might want to rewrite slightly. http://codereview.chromium.org/203079/diff/1/2 File chrome/browser/search_engines/template_url_prepopulate_data.cc (right): http://codereview.chromium.org/203079/diff/1/2#newcode2792 Line 2792: ...
11 years, 3 months ago (2009-09-16 18:32:12 UTC) #2
James Su
Thanks for your suggestion. CL has been updated to use std::string(). Regards James Su On ...
11 years, 3 months ago (2009-09-16 23:30:38 UTC) #3
Peter Kasting
11 years, 3 months ago (2009-09-16 23:35:10 UTC) #4
LGTM

http://codereview.chromium.org/203079/diff/5001/6001
File chrome/browser/search_engines/template_url_prepopulate_data.cc (right):

http://codereview.chromium.org/203079/diff/5001/6001#newcode2801
Line 2801: std::string::size_type begin = locale_str.find('_');
Nit: After some discussion a while back, we agreed to use "size_t" across the
codebase instead of "std::string::size_type".

http://codereview.chromium.org/203079/diff/5001/6001#newcode2805
Line 2805: begin++;
Nit: I'd prefer preincrement to post except where necessary

Powered by Google App Engine
This is Rietveld 408576698