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

Unified Diff: base/i18n/icu_util.h

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/i18n/build_utf8_validator_tables.cc ('k') | base/i18n/icu_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « base/i18n/build_utf8_validator_tables.cc ('k') | base/i18n/icu_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698