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

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

Issue 402603006: [android_webview] Do not extract webviewchromium.pak (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@awassets
Patch Set: WIP on US pakfiles Created 6 years, 5 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.h
diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h
index 9e5b94e22e8cd4d50157118b6dea94f203b3240f..3a6c080e8d45967b73843eae029573df4068f349 100644
--- a/ui/base/resource/resource_bundle.h
+++ b/ui/base/resource/resource_bundle.h
@@ -138,6 +138,12 @@ class UI_BASE_EXPORT ResourceBundle {
static void InitSharedInstanceWithPakFile(base::File file,
bool should_load_common_resources);
+ // Same as InitSharedInstanceWithPakFile, but uses a file region.
+ static void InitSharedInstanceWithPakFileRegion(
+ base::File pak_file,
+ const base::File::Region& region,
+ bool should_load_common_resources);
+
// Initialize the ResourceBundle using given data pack path for testing.
static void InitSharedInstanceWithPakPath(const base::FilePath& path);

Powered by Google App Engine
This is Rietveld 408576698