Chromium Code Reviews| Index: base/i18n/icu_util.h |
| diff --git a/base/i18n/icu_util.h b/base/i18n/icu_util.h |
| index 4c1c5fd38a51a478428476715e2d5afc06ab238d..b06ef8303d0ca1a9301fcd220de3c194e375b94f 100644 |
| --- a/base/i18n/icu_util.h |
| +++ b/base/i18n/icu_util.h |
| @@ -14,6 +14,12 @@ namespace i18n { |
| // function should be called before ICU is used. |
| BASE_I18N_EXPORT bool InitializeICU(); |
| +#if defined(OS_ANDROID) |
| +// Android uses a file descriptor passed by browser process to initialize ICU |
| +// in render processes. |
| +BASE_I18N_EXPORT bool InitializeICU(int data_fd); |
|
jungshik at Google
2014/06/06 23:07:50
Should we avoid function overloading and use Initi
|
| +#endif |
| + |
| // In a test binary, the call above might occur twice. |
| BASE_I18N_EXPORT void AllowMultipleInitializeCallsForTesting(); |