|
Mount MTP devices in Chrome OS Files.app.
This CL
* Adds new filesystem type kFileSystemTypeDeviceMediaAsFileStorage,
which is handled by chromeos::FileSystemBackend.
It uses DeviceMediaAsyncFileUtil, so the implementation is
shared with MTP support in mediaGalleries API (MediaFileSystemBackend).
We need different types since we need different handlings.
(Permission management for file handler extensions, unlimited CopyOrMoveValidator
for allowing non-media files, etc.)
* Adds monitoring by storage_monitor::RemovableStorageObserver in
file_manager::VolumeManager so that MTP device is detected and
mounted to the file manager.
BUG= 363960
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266458
Total comments: 14
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+251 lines, -3 lines) |
Patch |
 |
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_manager/volume_manager.h
|
View
|
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/file_manager/volume_manager.cc
|
View
|
1
2
3
4
5
|
7 chunks |
+87 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/fileapi/file_system_backend.h
|
View
|
1
2
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/fileapi/file_system_backend.cc
|
View
|
1
2
3
4
|
8 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/chromeos/fileapi/file_system_backend_unittest.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.h
|
View
|
1
2
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/chromeos/fileapi/mtp_file_system_backend_delegate.cc
|
View
|
1
2
3
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_chromeos.gypi
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/storage_monitor/storage_info.h
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/storage_monitor/storage_info.cc
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/browser/fileapi/external_mount_points.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
webkit/browser/fileapi/file_system_context.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/common/fileapi/file_system_types.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/common/fileapi/file_system_util.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|