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 213753e5684fbd6d2fbb841e51e2695e20de2839..17e1bd2e9256f24dc39b72e0f84f94abb2271492 100644 |
--- a/ui/base/resource/resource_bundle_android.h |
+++ b/ui/base/resource/resource_bundle_android.h |
@@ -28,8 +28,11 @@ UI_BASE_EXPORT int GetMainAndroidPackFd( |
UI_BASE_EXPORT int GetCommonResourcesPackFd( |
base::MemoryMappedFile::Region* out_region); |
-// Checks whether the locale data pak is contained within the .apk. |
-bool AssetContainedInApk(const std::string& filename); |
+// 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. |
+UI_BASE_EXPORT std::string GetPathForAndroidLocalePakWithinApk( |
+ const std::string& locale); |
bool RegisterResourceBundleAndroid(JNIEnv* env); |