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

Issue 243102: Convert base dependencies to use sys_string_conversions instead of the ICU... (Closed)

Created:
11 years, 2 months ago by brettw
Modified:
9 years, 7 months ago
Reviewers:
agl
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, Paweł Hajdan Jr., pam+watch_chromium.org, tim (not reviewing), John Grabowski
Visibility:
Public.

Description

Copy the relevant parts of ICU to a new file base/third_party/icu/icu_utf.* so we can do basic UTF8/16/32 conversions without linking all of ICU. Change callers who used to call SysUTF8ToWide/SysWideToUTF8 in base to using these new functions. I will remove the Sys versions of these functions in a later patch. TEST=none BUG=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28219

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+739 lines, -1484 lines) Patch
M base/base.gyp View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M base/file_util.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M base/file_util_posix.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M base/file_util_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M base/file_version_info_mac.mm View 1 2 6 chunks +11 lines, -10 lines 0 comments Download
A + base/i18n/icu_string_conversions.h View 2 chunks +3 lines, -44 lines 0 comments Download
A + base/i18n/icu_string_conversions.cc View 3 chunks +1 line, -339 lines 0 comments Download
D base/i18n/string_conversions.h View 2 1 chunk +0 lines, -101 lines 0 comments Download
D base/i18n/string_conversions.cc View 2 1 chunk +0 lines, -626 lines 0 comments Download
M base/json_reader.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M base/json_writer.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M base/logging.cc View 2 3 chunks +3 lines, -3 lines 0 comments Download
M base/platform_file_posix.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M base/process_util_mac.mm View 1 2 3 3 chunks +5 lines, -4 lines 0 comments Download
M base/stats_table.cc View 2 2 chunks +2 lines, -3 lines 0 comments Download
M base/string16.cc View 1 2 2 chunks +2 lines, -1 line 0 comments Download
A base/string16_unittest.cc View 1 1 chunk +52 lines, -0 lines 0 comments Download
M base/string_util.h View 2 1 chunk +2 lines, -1 line 0 comments Download
M base/sys_info_posix.cc View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M base/system_monitor_unittest.cc View 2 1 chunk +4 lines, -4 lines 0 comments Download
A base/third_party/icu/README View 2 1 chunk +8 lines, -0 lines 0 comments Download
A base/third_party/icu/icu_utf.h View 2 1 chunk +358 lines, -0 lines 0 comments Download
A base/third_party/icu/icu_utf.cc View 1 chunk +228 lines, -0 lines 0 comments Download
M base/trace_event.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A + base/utf_string_conversions.h View 2 chunks +3 lines, -50 lines 0 comments Download
A + base/utf_string_conversions.cc View 2 9 chunks +13 lines, -278 lines 0 comments Download
M base/values.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/download/download_manager_unittest.cc View 2 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
brettw
11 years, 2 months ago (2009-10-05 19:24:21 UTC) #1
agl
LGTM http://codereview.chromium.org/243102/diff/1/18 File base/string16.cc (right): http://codereview.chromium.org/243102/diff/1/18#newcode82 Line 82: utf8.resize(str.length() * 4); // Maximum length of ...
11 years, 2 months ago (2009-10-05 19:52:29 UTC) #2
brettw
This is an almost completely new patch.
11 years, 2 months ago (2009-10-06 23:18:02 UTC) #3
brettw
I added a check in the download manager UI test for a locale problem I ...
11 years, 2 months ago (2009-10-07 00:28:19 UTC) #4
agl
LGTM. I still wonder if there are some files missing from the review, but what ...
11 years, 2 months ago (2009-10-07 00:31:57 UTC) #5
brettw
11 years, 2 months ago (2009-10-07 00:34:00 UTC) #6
Since this file is included from string_util, most files don't know it's changed
at all, which is why there are so few changes. There will be a number of
subsequent passes to break these dependencies.

Powered by Google App Engine
This is Rietveld 408576698