Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3732)

Unified Diff: chrome/browser/system_monitor/media_storage_util_linux.cc

Issue 10911234: Update Windows System Monitor Removable Device Impl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Win compile Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698