| Index: ui/base/resource/resource_bundle_android.h
|
| diff --git a/ui/base/resource/resource_bundle_android.h b/ui/base/resource/resource_bundle_android.h
|
| index 2123eb053d809efe3a64757eae036dee4e484cab..57059b0ecbc9f948c325e8ac433430276166b6d9 100644
|
| --- a/ui/base/resource/resource_bundle_android.h
|
| +++ b/ui/base/resource/resource_bundle_android.h
|
| @@ -31,10 +31,17 @@ UI_BASE_EXPORT int GetCommonResourcesPackFd(
|
| UI_BASE_EXPORT int GetLocalePackFd(
|
| base::MemoryMappedFile::Region* out_region);
|
|
|
| +// Returns the file descriptor and region for the secondary locale .pak file.
|
| +UI_BASE_EXPORT int GetSecondaryLocalePackFd(
|
| + base::MemoryMappedFile::Region* out_region);
|
| +
|
| // Tell ResourceBundle to locate locale pak files via
|
| // GetPathForAndroidLocalePakWithinApk rather than looking for them on disk.
|
| UI_BASE_EXPORT void SetLocalePaksStoredInApk(bool value);
|
|
|
| +// Tell ResourceBundle to load secondary locale .pak files.
|
| +UI_BASE_EXPORT void SetLoadSecondaryLocalePaks(bool value);
|
| +
|
| // Returns the path within the apk for the given locale's .pak file, or an
|
| // empty string if it doesn't exist.
|
| // Only locale paks for the active Android language can be retrieved.
|
|
|