Chromium Code Reviews| 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 8708f734a60cc78a7d3c659be7c4e2d694169338..478436c59483ba3507ae6965dfa6ba57efa7c4d5 100644 |
| --- a/ui/base/resource/resource_bundle_android.h |
| +++ b/ui/base/resource/resource_bundle_android.h |
| @@ -25,8 +25,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( |
|
Yaron
2015/06/19 15:01:30
that's a mouthful
agrieve
2015/06/23 15:33:22
Yeah, I think it's worth it though:
- Need to say
|
| + const std::string& locale); |
| bool RegisterResourceBundleAndroid(JNIEnv* env); |