| Index: chrome/browser/storage_monitor/media_storage_util.cc
|
| diff --git a/chrome/browser/storage_monitor/media_storage_util.cc b/chrome/browser/storage_monitor/media_storage_util.cc
|
| index 04c342fb9c5930ab43a9809c95ab9ae11e9228c6..c50be02129bf5e3ea4fdef04112b96f405c1b940 100644
|
| --- a/chrome/browser/storage_monitor/media_storage_util.cc
|
| +++ b/chrome/browser/storage_monitor/media_storage_util.cc
|
| @@ -50,7 +50,8 @@ void ValidatePathOnFileThread(
|
| typedef std::vector<StorageInfo> StorageInfoList;
|
|
|
| bool IsRemovableStorageAttached(const std::string& id) {
|
| - StorageInfoList devices = StorageMonitor::GetInstance()->GetAttachedStorage();
|
| + StorageInfoList devices =
|
| + StorageMonitor::GetInstance()->GetAttachedRemovableStorages();
|
| for (StorageInfoList::const_iterator it = devices.begin();
|
| it != devices.end(); ++it) {
|
| if (it->device_id() == id)
|
| @@ -61,7 +62,8 @@ bool IsRemovableStorageAttached(const std::string& id) {
|
|
|
| base::FilePath::StringType FindRemovableStorageLocationById(
|
| const std::string& device_id) {
|
| - StorageInfoList devices = StorageMonitor::GetInstance()->GetAttachedStorage();
|
| + StorageInfoList devices =
|
| + StorageMonitor::GetInstance()->GetAttachedRemovableStorages();
|
| for (StorageInfoList::const_iterator it = devices.begin();
|
| it != devices.end(); ++it) {
|
| if (it->device_id() == device_id)
|
|
|