|
[FileAPI] Add file open ID and close callback
This CL changes opened file tracking from URL based to sequence number based.
On close file sequence, current impl passes its URL only to FileSystemOperation to notify file close, and new version calls a callback registered on file open.
The callback can have more context than URL, such as, which file was opened.
BUG= 220029, 235736
TEST='no functional change. should not break existing test.'
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197290
Total comments: 4
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+102 lines, -70 lines) |
Patch |
 |
M |
chrome/browser/chromeos/drive/file_system_proxy.h
|
View
|
1
2
3
4
5
|
5 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/drive/file_system_proxy.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/fileapi/fileapi_message_filter.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/fileapi/fileapi_message_filter.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+22 lines, -28 lines |
0 comments
|
Download
|
 |
M |
content/common/fileapi/file_system_dispatcher.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/fileapi/file_system_dispatcher.cc
|
View
|
1
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/fileapi/file_system_messages.h
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/null_file_system_callback_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/null_file_system_callback_dispatcher.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_delegate_impl.cc
|
View
|
|
3 chunks |
+11 lines, -14 lines |
0 comments
|
Download
|
 |
M |
webkit/chromeos/fileapi/remote_file_system_operation.h
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/chromeos/fileapi/remote_file_system_operation.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_callback_dispatcher.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_callback_dispatcher.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/fileapi/file_system_operation.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/fileapi/local_file_system_operation.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+11 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/fileapi/remote_file_system_proxy.h
|
View
|
1
2
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/plugins/ppapi/plugin_delegate.h
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|