Index: base/i18n/icu_util.h |
diff --git a/base/i18n/icu_util.h b/base/i18n/icu_util.h |
index 4c1c5fd38a51a478428476715e2d5afc06ab238d..b0a5dbcce6df01cf29bacb9d953692ba7b74d97c 100644 |
--- a/base/i18n/icu_util.h |
+++ b/base/i18n/icu_util.h |
@@ -5,6 +5,7 @@ |
#ifndef BASE_I18N_ICU_UTIL_H_ |
#define BASE_I18N_ICU_UTIL_H_ |
+#include "build/build_config.h" |
#include "base/i18n/base_i18n_export.h" |
namespace base { |
@@ -14,6 +15,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 InitializeICUWithFileDescriptor(int data_fd); |
+#endif |
+ |
// In a test binary, the call above might occur twice. |
BASE_I18N_EXPORT void AllowMultipleInitializeCallsForTesting(); |