| Index: chrome/browser/system_monitor/media_storage_util.h
|
| diff --git a/chrome/browser/system_monitor/media_storage_util.h b/chrome/browser/system_monitor/media_storage_util.h
|
| index 3db4793f3fe505a4c10796d2a6efb81a760f1342..7abd2096f5b0d5f1ad25526af83c175d54c36ae7 100644
|
| --- a/chrome/browser/system_monitor/media_storage_util.h
|
| +++ b/chrome/browser/system_monitor/media_storage_util.h
|
| @@ -28,6 +28,8 @@ class MediaStorageUtil {
|
| FIXED_MASS_STORAGE,
|
| // A MTP or PTP device.
|
| MTP_OR_PTP,
|
| + // A Mac ImageCapture device.
|
| + MAC_IMAGE_CAPTURE,
|
| };
|
|
|
| typedef std::set<std::string /*device id*/> DeviceIdSet;
|
| @@ -55,6 +57,10 @@ class MediaStorageUtil {
|
| // (type isn't MTP_OR_PTP).
|
| static bool IsMassStorageDevice(const std::string& device_id);
|
|
|
| + // Returns true if we will be able to create a filesystem for this device.
|
| + static bool CanCreateFileSystem(const std::string& device_id,
|
| + const FilePath& path);
|
| +
|
| // Determines if the device is attached to the computer.
|
| static void IsDeviceAttached(const std::string& device_id,
|
| const BoolCallback& callback);
|
|
|