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

Issue 317833006: [ICU] Avoid reading ICU data files in render process. (Closed)

Created:
6 years, 6 months ago by Feng Qian
Modified:
6 years, 6 months ago
CC:
chromium-reviews, darin-cc_chromium.org, erikwright+watch_chromium.org, jam, jshin+watch_chromium.org
Visibility:
Public.

Description

[ICU] Avoid reading ICU data files in render process. Instead of reading icudtl.dat from app_chrome directory, use a file descriptor passed from the browser process. This allows us to tight permissions on data directory. BUG=378381 R=avi@chromium.org, jshin@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276100

Patch Set 1 #

Total comments: 8

Patch Set 2 : address reviewer's comments #

Total comments: 2

Patch Set 3 : fix component build and tests #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -2 lines) Patch
M base/i18n/icu_util.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M base/i18n/icu_util.cc View 1 2 2 chunks +27 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 1 chunk +12 lines, -0 lines 0 comments Download
M content/app/content_main_runner.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M content/public/common/content_descriptors.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Feng Qian
jshin@, this is my tentative fix of ICU problem. The #if-else in icu_util.cc really scares ...
6 years, 6 months ago (2014-06-05 21:49:15 UTC) #1
jungshik at Google
Thank you for the CL ! On 2014/06/05 21:49:15, Feng Qian wrote: > jshin@, this ...
6 years, 6 months ago (2014-06-05 23:12:57 UTC) #2
jungshik at Google
Can you try if blink tests and other tests run ok (can find icu data) ...
6 years, 6 months ago (2014-06-05 23:30:58 UTC) #3
jungshik at Google
https://codereview.chromium.org/317833006/diff/1/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/317833006/diff/1/chrome/app/chrome_main_delegate.cc#newcode681 chrome/app/chrome_main_delegate.cc:681: #endif What about other implementations of content_main_delegate such as ...
6 years, 6 months ago (2014-06-05 23:40:38 UTC) #4
Feng Qian
https://codereview.chromium.org/317833006/diff/1/base/i18n/icu_util.cc File base/i18n/icu_util.cc (right): https://codereview.chromium.org/317833006/diff/1/base/i18n/icu_util.cc#newcode60 base/i18n/icu_util.cc:60: bool InitializeICU(int data_fd) { What about DATA_SHARED case? Would ...
6 years, 6 months ago (2014-06-06 17:40:31 UTC) #5
jungshik at Google
On 2014/06/06 17:40:31, Feng Qian wrote: > https://codereview.chromium.org/317833006/diff/1/base/i18n/icu_util.cc > File base/i18n/icu_util.cc (right): > > https://codereview.chromium.org/317833006/diff/1/base/i18n/icu_util.cc#newcode60 ...
6 years, 6 months ago (2014-06-06 18:55:36 UTC) #6
jungshik at Google
LGTM if you take care of nits and component-build link issue. Thanks https://codereview.chromium.org/317833006/diff/20001/base/i18n/icu_util.cc File base/i18n/icu_util.cc ...
6 years, 6 months ago (2014-06-06 23:07:50 UTC) #7
Avi (use Gerrit)
content/ lgtm
6 years, 6 months ago (2014-06-09 16:13:11 UTC) #8
sky
chrome LGTM
6 years, 6 months ago (2014-06-09 16:15:18 UTC) #9
Feng Qian
The CQ bit was checked by feng@chromium.org
6 years, 6 months ago (2014-06-09 16:26:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/feng@chromium.org/317833006/60001
6 years, 6 months ago (2014-06-09 16:27:55 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 08:33:54 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 11:50:57 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/150223)
6 years, 6 months ago (2014-06-10 11:50:58 UTC) #14
Feng Qian
The CQ bit was checked by feng@chromium.org
6 years, 6 months ago (2014-06-10 15:46:12 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/feng@chromium.org/317833006/60001
6 years, 6 months ago (2014-06-10 15:49:54 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-10 16:22:01 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-10 17:01:16 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_clang_dbg/builds/150434)
6 years, 6 months ago (2014-06-10 17:01:18 UTC) #19
Feng Qian
6 years, 6 months ago (2014-06-10 18:40:55 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 manually as r276100 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698