|
[fsp] Add support for aborting running operations.
When an operation is aborted in C++ layer, it should be also terminated in the
providing extension.
This patch adds aborting feature for each operation. However, it is not used
everywhere. Especially, FileStreamReader does not utilize it yet. It will be
done in a separate CL.
TBR=nkostylev@chromium.org
TEST=unit_tests: *FileSystemProvider*Abort*, *FileSystemProvider*RequestManager*
BUG= 400574
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290223
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+786 lines, -449 lines) |
Patch |
 |
M |
chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h
|
View
|
1
2
3
|
3 chunks |
+40 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
|
View
|
1
2
3
|
7 chunks |
+83 lines, -76 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.h
|
View
|
|
4 chunks |
+13 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+158 lines, -92 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/fileapi/file_stream_writer_unittest.cc
|
View
|
|
1 chunk |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/chromeos/file_system_provider/operations/abort.h
|
View
|
|
3 chunks |
+12 lines, -13 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/chromeos/file_system_provider/operations/abort.cc
|
View
|
|
2 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
A + |
chrome/browser/chromeos/file_system_provider/operations/abort_unittest.cc
|
View
|
|
5 chunks |
+47 lines, -46 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/provided_file_system.h
|
View
|
|
2 chunks |
+29 lines, -21 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/provided_file_system.cc
|
View
|
1
|
5 chunks |
+199 lines, -114 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h
|
View
|
|
5 chunks |
+27 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/request_manager.h
|
View
|
1
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/request_manager.cc
|
View
|
1
|
2 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc
|
View
|
1
|
5 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/provided_file_systems_ui.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_chromeos.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/file_system_provider.idl
|
View
|
1
2
3
4
|
3 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/file_system_provider/write_file/test.js
|
View
|
1
2
3
|
6 chunks |
+75 lines, -5 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|