|
Cleanup FileSystemOperation for preparing for adding FSO-factory method
1. Move OpenFileSystem() to FileSystemContext
2. Change Cancel() not to take another FileSystemOperation
These two changes are made so that all the operations that require FileSystemOperation take target path URL.
3. Did some related code cleanups in FileSystemMountPointProvider:
- Renamed ValidateFileSystemRootAndGetURL() to ValidateFileSystemRoot() as we no longer need to return RootURL
- Renamed ValidateFileSystemRootAndGetPathOnFileThread() to GetFileSystemRootPathOnFileThread() for the sake of simplicity
- Reimplemented SandboxMPP::GetRootPathTask using PostTaskAndReply
Patch from http://codereview.chromium.org/9004019/
BUG=none
TEST=existing tests should pass
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117197
Total comments: 2
Total comments: 13
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+432 lines, -416 lines) |
Patch |
 |
M |
chrome/browser/browsing_data_file_system_helper_unittest.cc
|
View
|
1
2
3
|
5 chunks |
+9 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_file_browser_private_api.cc
|
View
|
1
2
3
4
|
10 chunks |
+61 lines, -47 lines |
0 comments
|
Download
|
 |
M |
content/browser/file_system/file_system_dispatcher_host.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+24 lines, -14 lines |
0 comments
|
Download
|
 |
M |
webkit/chromeos/fileapi/cros_mount_point_provider.h
|
View
|
1
2
3
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
webkit/chromeos/fileapi/cros_mount_point_provider.cc
|
View
|
1
2
3
|
3 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_context.h
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_context.cc
|
View
|
1
2
3
|
3 chunks |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_dir_url_request_job.cc
|
View
|
1
2
3
4
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_dir_url_request_job_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_mount_point_provider.h
|
View
|
1
2
3
4
|
2 chunks |
+21 lines, -23 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_mount_point_provider_unittest.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_operation.h
|
View
|
1
2
3
|
5 chunks |
+4 lines, -17 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_operation.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+27 lines, -79 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_operation_interface.h
|
View
|
1
2
|
3 chunks |
+26 lines, -6 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_test_helper.cc
|
View
|
1
2
3
|
5 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_url_request_job.cc
|
View
|
1
2
3
|
3 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_url_request_job_unittest.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_util.h
|
View
|
1
2
3
4
|
1 chunk |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_util.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/local_file_util.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/sandbox_mount_point_provider.h
|
View
|
1
2
3
|
3 chunks |
+10 lines, -11 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/sandbox_mount_point_provider.cc
|
View
|
1
2
3
4
|
23 chunks |
+89 lines, -135 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/sandbox_mount_point_provider_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/simple_file_system.cc
|
View
|
1
2
3
|
4 chunks |
+18 lines, -8 lines |
0 comments
|
Download
|
 |
M |
webkit/tools/test_shell/simple_file_writer.cc
|
View
|
1
2
|
2 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|