Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: ui/base/resource/resource_bundle_android.h

Issue 1187433006: Load language .pak files directly from the apk when using splits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@locale-res-or-file
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..1b58c9ef356fd7ddddd1665b3663775d7dab1a0d 100644
--- a/ui/base/resource/resource_bundle_android.h
+++ b/ui/base/resource/resource_bundle_android.h
@@ -29,6 +29,10 @@ UI_BASE_EXPORT int GetCommonResourcesPackFd(
// GetPathForAndroidLocalePakWithinApk rather than looking for them on disk.
UI_BASE_EXPORT void SetLocalePaksStoredInApk(bool value);
+// Tell ResourceBundle to locate locale pak files via
Yaron 2015/06/18 20:45:43 nit: update
agrieve 2015/06/19 01:37:25 Done.
+// GetPathForAndroidLocalePakWithinApk rather than looking for them on disk.
+UI_BASE_EXPORT bool GetLocalePaksStoredInApk();
+
// 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.

Powered by Google App Engine
This is Rietveld 408576698