| Index: base/i18n/icu_util.h
|
| diff --git a/base/i18n/icu_util.h b/base/i18n/icu_util.h
|
| index b0a5dbcce6df01cf29bacb9d953692ba7b74d97c..5094cb0f1df538f85d19c47e36d7d6ea299d8582 100644
|
| --- a/base/i18n/icu_util.h
|
| +++ b/base/i18n/icu_util.h
|
| @@ -5,12 +5,15 @@
|
| #ifndef BASE_I18N_ICU_UTIL_H_
|
| #define BASE_I18N_ICU_UTIL_H_
|
|
|
| -#include "build/build_config.h"
|
| +#include "base/files/memory_mapped_file.h"
|
| #include "base/i18n/base_i18n_export.h"
|
| +#include "build/build_config.h"
|
|
|
| namespace base {
|
| namespace i18n {
|
|
|
| +BASE_I18N_EXPORT extern const char kIcuDataFileName[];
|
| +
|
| // Call this function to load ICU's data tables for the current process. This
|
| // function should be called before ICU is used.
|
| BASE_I18N_EXPORT bool InitializeICU();
|
| @@ -18,7 +21,9 @@ 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);
|
| +BASE_I18N_EXPORT bool InitializeICUWithFileDescriptor(
|
| + int data_fd,
|
| + base::MemoryMappedFile::Region data_region);
|
| #endif
|
|
|
| // In a test binary, the call above might occur twice.
|
|
|