|
[fsp] Cleanup handling errors for operation requests.
This CL removes redundant internal functions which are identical, and replaces
them with one.
Moreover, the new general purpose error API function, passes now the entire
value to the request manager. This is because, very soon, we are going to
pass extra information with every error and success responses and we want to
have access to them in the RequestManager.
NOTRY=true
TEST=unit_tests, browser_tests: *FileSystemProvider*
BUG= 373165, 384201
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277929
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+161 lines, -241 lines) |
Patch |
 |
M |
chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
|
View
|
|
6 chunks |
+4 lines, -64 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc
|
View
|
|
6 chunks |
+5 lines, -52 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/extensions/file_system_provider/provider_function.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/extensions/file_system_provider/provider_function.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/close_file.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/close_file.cc
|
View
|
1
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/close_file_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/get_metadata.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/get_metadata_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/open_file.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/open_file.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/open_file_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/operation.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/read_directory.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/read_directory.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/read_directory_unittest.cc
|
View
|
|
3 chunks |
+3 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/read_file.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/read_file.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/read_file_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/unmount.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/unmount.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/unmount_unittest.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/request_manager.h
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/request_manager.cc
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc
|
View
|
1
2
3
4
|
8 chunks |
+26 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/request_value.h
|
View
|
|
3 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/request_value.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/file_system_provider_internal.idl
|
View
|
|
4 chunks |
+4 lines, -38 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
extensions/browser/extension_function_histogram_value.h
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
4 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
Total messages: 30 (0 generated)
|