| Index: chrome/browser/system_monitor/media_storage_util_linux.cc
|
| diff --git a/chrome/browser/system_monitor/media_storage_util_linux.cc b/chrome/browser/system_monitor/media_storage_util_linux.cc
|
| index 7a09f2c8bd2359e730697edca11856f62237b970..87e5eda410cf635fb04bfa16484cf2ecedfd9c8d 100644
|
| --- a/chrome/browser/system_monitor/media_storage_util_linux.cc
|
| +++ b/chrome/browser/system_monitor/media_storage_util_linux.cc
|
| @@ -13,7 +13,7 @@
|
| namespace chrome {
|
|
|
| // static
|
| -void MediaStorageUtil::GetDeviceInfoFromPathImpl(const FilePath& path,
|
| +bool MediaStorageUtil::GetDeviceInfoFromPathImpl(const FilePath& path,
|
| std::string* device_id,
|
| string16* device_name,
|
| FilePath* relative_path) {
|
| @@ -33,7 +33,7 @@ void MediaStorageUtil::GetDeviceInfoFromPathImpl(const FilePath& path,
|
| FilePath mount_point(device_info.location);
|
| mount_point.AppendRelativePath(path, relative_path);
|
| }
|
| - return;
|
| + return true;
|
| }
|
|
|
| if (device_id)
|
| @@ -42,6 +42,7 @@ void MediaStorageUtil::GetDeviceInfoFromPathImpl(const FilePath& path,
|
| *device_name = path.BaseName().LossyDisplayName();
|
| if (relative_path)
|
| *relative_path = FilePath();
|
| + return true;
|
| }
|
|
|
| } // namespace chrome
|
|
|