Index: base/ios/ios_util.h |
diff --git a/base/ios/ios_util.h b/base/ios/ios_util.h |
index e677adc755635f455349c032bb3647ea0f9d6974..3b276ff79981736345605077f8727b85a99a07c1 100644 |
--- a/base/ios/ios_util.h |
+++ b/base/ios/ios_util.h |
@@ -8,6 +8,7 @@ |
#include <stdint.h> |
#include "base/base_export.h" |
+#include "base/files/file_path.h" |
namespace base { |
namespace ios { |
@@ -30,6 +31,14 @@ BASE_EXPORT bool IsRunningOnOrLater(int32_t major, |
// example by using the "RTL Psuedolanguage" option when launching from XCode). |
BASE_EXPORT bool IsInForcedRTL(); |
+// Stores the |path| of the ICU dat file in a global to be referenced later by |
+// FilePathOfICUFile(). This should only be called once. |
+BASE_EXPORT void OverridePathOfEmbeddedICU(const char* path); |
+ |
+// Returns the overriden path set by OverridePathOfEmbeddedICU(), otherwise |
+// returns invalid FilePath. |
+BASE_EXPORT FilePath FilePathOfEmbeddedICU(); |
+ |
} // namespace ios |
} // namespace base |