|
Refactor FileSystem.
Add global FileSystem registry for new FileSystem Support later. New file system will need to implement PepperFileSystemRegistry::FileSystemPeeker for FileRef to access.
Due to the fact that 1) FileSystem and FileRef are tightly couple, 2) we wants to move both of them to browser together, there are two temporary changes in this CL.
1. webkit/plugins/ppapi/ppb_file_ref_impl.cc needs some delegation to access content::PepperFileSystemHost. The delegation code should be removed after FileRef is moved to content.
2. PepperFileSystemHost stays in renderer for now, and will be moved to browser together in the FileRef refactoring.
Also, NullFileSystemCallbackDispatcher is added with default NOTREACHED callbacks.
TEST=browser_tests --gtest_filter='*PPAPI*.*File*'
BUG= 227033
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193995
Total comments: 51
Total comments: 6
Total comments: 9
Total comments: 3
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+727 lines, -628 lines) |
Patch |
 |
M |
content/content_renderer.gypi
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/content_renderer_pepper_host_factory.cc
|
View
|
1
|
2 chunks |
+21 lines, -7 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/null_file_system_callback_dispatcher.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/null_file_system_callback_dispatcher.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_directory_reader_host.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+8 lines, -37 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_file_io_host.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_file_io_host.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+6 lines, -46 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/pepper_file_system_host.h
|
View
|
1
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/renderer/pepper/pepper_file_system_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+132 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_in_process_resource_creation.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_in_process_resource_creation.cc
|
View
|
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_delegate_impl.h
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
View
|
1
2
3
4
5
6
|
4 chunks |
+36 lines, -9 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_proxy.gypi
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/file_system_resource.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/proxy/file_system_resource.cc
|
View
|
1
2
3
4
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/interface_list.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_messages.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_file_ref_proxy.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_file_ref_proxy.cc
|
View
|
1
2
3
|
4 chunks |
+18 lines, -13 lines |
0 comments
|
Download
|
 |
D |
ppapi/proxy/ppb_file_system_proxy.h
|
View
|
|
1 chunk |
+0 lines, -62 lines |
0 comments
|
Download
|
 |
D |
ppapi/proxy/ppb_file_system_proxy.cc
|
View
|
|
1 chunk |
+0 lines, -190 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/resource_creation_proxy.cc
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/shared_impl/ppb_file_ref_shared.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/interfaces_ppb_public_stable.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/ppb_file_ref_thunk.cc
|
View
|
1
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ppapi/thunk/resource_creation_api.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/glue/webkit_glue.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/file_callbacks.h
|
View
|
|
3 chunks |
+7 lines, -5 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/file_callbacks.cc
|
View
|
|
4 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/mock_plugin_delegate.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/mock_plugin_delegate.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/plugin_delegate.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+15 lines, -5 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_file_ref_impl.h
|
View
|
1
2
3
|
4 chunks |
+28 lines, -8 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/ppb_file_ref_impl.cc
|
View
|
1
2
3
4
5
|
13 chunks |
+54 lines, -30 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/ppb_file_system_impl.h
|
View
|
|
1 chunk |
+0 lines, -55 lines |
0 comments
|
Download
|
 |
D |
webkit/plugins/ppapi/ppb_file_system_impl.cc
|
View
|
|
1 chunk |
+0 lines, -95 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_creation_impl.h
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/resource_creation_impl.cc
|
View
|
4
5
|
2 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/url_request_info_util.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|