|
Do not call stat() when reading directories via File API.
It's very heavy, and on the JavaScript side the metadata is discarded
anyway, and another call is used to obtain it.
TEST=All existing tests should pass. Tested manually with MTP and
chrome://quota-internals, then filesystem://.../isolated in the browser.
BUG= 558191
Committed: https://crrev.com/4c70fc9c006c7d5a3099cac3842cef8b411d2a49
Cr-Commit-Position: refs/heads/master@{#359768}
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+170 lines, -199 lines) |
Patch |
 |
M |
chrome/browser/chromeos/drive/fileapi/fileapi_worker.cc
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc
|
View
|
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/get_metadata.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/get_metadata_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/read_directory.cc
|
View
|
|
1 chunk |
+0 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_system_provider/operations/read_directory_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+2 lines, -15 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/fileapi/iphoto_file_util.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+7 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/fileapi/itunes_file_util.cc
|
View
|
1
2
3
4
5
|
5 chunks |
+11 lines, -19 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/fileapi/native_media_file_util.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/fileapi/picasa_file_util.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+5 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.h
|
View
|
|
6 chunks |
+9 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/linux/mtp_device_delegate_impl_linux.cc
|
View
|
1
2
3
4
|
7 chunks |
+18 lines, -34 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/linux/mtp_device_task_helper.h
|
View
|
1
2
3
4
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/linux/mtp_device_task_helper.cc
|
View
|
1
2
3
4
|
3 chunks |
+8 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac.mm
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/mac/mtp_device_delegate_impl_mac_unittest.mm
|
View
|
1
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/media_galleries/win/mtp_device_delegate_impl_win.cc
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/api/file_system_provider.idl
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/fileapi/dragged_file_util_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
storage/browser/fileapi/async_file_util_adapter.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
storage/browser/fileapi/file_system_dir_url_request_job.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
storage/browser/fileapi/file_system_dir_url_request_job.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+44 lines, -7 lines |
0 comments
|
Download
|
 |
M |
storage/common/fileapi/directory_entry.h
|
View
|
|
1 chunk |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
storage/common/fileapi/directory_entry.cc
|
View
|
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
Total messages: 40 (19 generated)
|