|
Make MountPointProvider pluggable from outside webkit/fileapi
Currently we have some layering leakages under webkit/ because
we have several FS modules (e.g. media modules) that
should not be known by WebKit/FileAPI (or content) layer.
Also some module implementors are forced to add extra glue interfaces
just to across layering boundaries from webkit.
This patch changes to:
- Add CanHandleType method to each MountPointProvider
- Make FileSystemContext's ctor take additional MountPointProviders and
MountPoints, so that FS module implementors can implement their own
provider outside webkit/ and plug it into FileAPI layer.
This is the 1st cut of a couple of planned changes.
Brief change plan (internal): https://docs.google.com/a/google.com/document/d/1XEtX0OO_RIA_c0KuKvd9yqK5l3XtsTulwXs3c-mAQ1o/view
BUG= 175936
TEST=content_unittests:.*File.*
TEST=content_unittests:.*MountPointProvider.*
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194747
Total comments: 12
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+263 lines, -205 lines) |
Patch |
 |
M |
chrome/browser/chromeos/drive/drive_file_system_util_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/fileapi/browser_file_system_helper.cc
|
View
|
1
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/fileapi/fileapi_message_filter.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content_tests.gypi
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/blob/blob_url_request_job_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/chromeos/fileapi/cros_mount_point_provider.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/chromeos/fileapi/cros_mount_point_provider.cc
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/copy_or_move_file_validator_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_context.h
|
View
|
1
2
|
6 chunks |
+21 lines, -7 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_context.cc
|
View
|
1
|
8 chunks |
+49 lines, -40 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_context_unittest.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_dir_url_request_job_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_file_stream_reader_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_mount_point_provider.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_mount_point_provider_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_quota_client_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_types.h
|
View
|
|
3 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_url_request_job_unittest.cc
|
View
|
1
|
3 chunks |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_util.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/isolated_file_util_unittest.cc
|
View
|
1
|
3 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/isolated_mount_point_provider.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/isolated_mount_point_provider.cc
|
View
|
|
1 chunk |
+17 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/local_file_system_cross_operation_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/local_file_system_operation_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/local_file_system_operation_write_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/local_file_system_quota_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/local_file_system_test_helper.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/fileapi/local_file_system_test_helper.cc
|
View
|
1
|
5 chunks |
+4 lines, -22 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/media/native_media_file_util_unittest.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
webkit/fileapi/mock_file_system_context.h
|
View
|
1
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
webkit/fileapi/mock_file_system_context.cc
|
View
|
1
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/obfuscated_file_util_unittest.cc
|
View
|
1
|
2 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/sandbox_mount_point_provider.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/fileapi/sandbox_mount_point_provider.cc
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/fileapi/sandbox_quota_observer.cc
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/syncable/canned_syncable_file_system.cc
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/test_mount_point_provider.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/test_mount_point_provider.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/upload_file_system_file_element_reader_unittest.cc
|
View
|
1
|
2 chunks |
+4 lines, -10 lines |
0 comments
|
Download
|
 |
M |
webkit/support/webkit_support.gypi
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/simple_file_system.cc
|
View
|
1
|
2 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|