|
[StorageMonitor] Handle EjectDevice call for MTP devices
This change includes intercept code to dispatch eject calls on
MTP devices for all platforms. By and large, MTP devices don't need
specific ejection APIs to be called -- the devices are safe to remove
without notice. So the implementations mainly just simulate their
removal and signal OK to the caller. When the device is then actually
removed, the removal will be swallowed without additional notification.
R=thestig@chromium.org
BUG= 257179
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=222112
Total comments: 8
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+106 lines, -3 lines) |
Patch |
 |
M |
chrome/browser/storage_monitor/image_capture_device.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/image_capture_device.mm
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/image_capture_device_manager.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/image_capture_device_manager.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.h
|
View
|
1
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/media_transfer_protocol_device_observer_linux.cc
|
View
|
1
2
3
|
2 chunks |
+28 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/portable_device_watcher_win.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/storage_monitor_chromeos.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/storage_monitor_linux.cc
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/storage_monitor_mac.mm
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/storage_monitor/storage_monitor_win.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|