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 b9c704e2b3314b5a405b5c0655fc9cfed076a1ab..fa03ea9518b892a5a591c543e95c54cac0ce0120 100644 |
--- a/ui/base/resource/resource_bundle_android.h |
+++ b/ui/base/resource/resource_bundle_android.h |
@@ -21,14 +21,21 @@ UI_BASE_EXPORT void LoadMainAndroidPackFile(); |
UI_BASE_EXPORT int GetMainAndroidPackFd( |
base::MemoryMappedFile::Region* out_region); |
-// Returns the file descriptor and region for chrome_100_percent.pak |
+// Returns the file descriptor and region for chrome_100_percent.pak. |
UI_BASE_EXPORT int GetCommonResourcesPackFd( |
base::MemoryMappedFile::Region* out_region); |
+// Returns the file descriptor and region for the locale .pak file. |
+UI_BASE_EXPORT int GetLocalePackFd( |
+ 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); |
+// Returns whether ResourceBundle will look for locale paks within the apk. |
+UI_BASE_EXPORT bool GetLocalePaksStoredInApk(); |
sadrul
2015/06/23 08:34:06
This doesn't seem to be actually used?
agrieve
2015/06/23 15:33:57
Good eye. Deleted.
|
+ |
// 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. |