|
Add methods to add DataPack from open files
On Android, renderer sandboxing prevents us from opening files and so
ResourceBundle is initialized with file descriptors passed in at process
creation. This change adds methods to DataPack and ResourceBundle to
support loading/initializing from PlatformFile in addition to the
current FilePath.
Also, the current methods are renamed so that the naming is consistent
between these two files.
BUG=
TEST=
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145927
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+210 lines, -96 lines) |
Patch |
 |
M |
chrome/browser/chrome_browser_main.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chrome_browser_main_mac.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/browser_theme_pack.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/web_ui_browsertest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/test/base/chrome_test_suite.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/tools/mac_helpers/infoplist_strings_util.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome_frame/simple_resource_loader.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/shell/shell_main_delegate.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/test/test_content_client.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/aura/test/test_aura_initializer.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/resource/data_pack.h
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/resource/data_pack.cc
|
View
|
1
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/resource/data_pack_unittest.cc
|
View
|
|
5 chunks |
+44 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle.h
|
View
|
|
5 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle.cc
|
View
|
|
8 chunks |
+42 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle_android.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle_aurax11.cc
|
View
|
1
2
|
1 chunk |
+19 lines, -18 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle_gtk.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle_mac.mm
|
View
|
|
2 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/base/resource/resource_bundle_win.cc
|
View
|
|
1 chunk |
+16 lines, -12 lines |
0 comments
|
Download
|
 |
M |
ui/test/test_suite.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/support/platform_support_android.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/support/platform_support_linux.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/support/platform_support_mac.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/test_shell_gtk.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/test_shell_mac.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|