|
[fsp] Add notifications in case of slow operations.
Previously, every request was aborted automatically if it took more than 10
seconds. However, for remote file systems using eg HTTP, on slow connection
operation can take longer.
Another situation is when a providing extension shows a dialog for eg.
password or credentials. We don't want to abort an operation in such case.
This CL introduces a notification which is shown when an operation takes
longer than expected. Users can abort the operation by clicking on the
'ABORT' button.
TEST=unit_tests: *FileSystemProvider*Timeout*
BUG= 248427
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279541
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+490 lines, -38 lines) |
Patch |
|
M |
chrome/app/chromeos_strings.grdp
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/notification_manager.h
|
View
|
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/notification_manager.cc
|
View
|
1
2
3
4
|
1 chunk |
+161 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/chromeos/file_system_provider/notification_manager_interface.h
|
View
|
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/provided_file_system.h
|
View
|
|
3 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/provided_file_system.cc
|
View
|
1
2
3
|
3 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/request_manager.h
|
View
|
|
3 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/request_manager.cc
|
View
|
1
2
3
|
5 chunks |
+55 lines, -11 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/request_manager_unittest.cc
|
View
|
|
8 chunks |
+100 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/service.h
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chromeos/file_system_provider/service.cc
|
View
|
|
3 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_browser_chromeos.gypi
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 25 (0 generated)
|