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

Unified Diff: chrome/browser/system_monitor/media_storage_util.h

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.h
diff --git a/chrome/browser/system_monitor/media_storage_util.h b/chrome/browser/system_monitor/media_storage_util.h
index bccaec5f0e23f522e818dd2832115d3099f11590..ae0a49593e7b048bf74f53818028be89716af37e 100644
--- a/chrome/browser/system_monitor/media_storage_util.h
+++ b/chrome/browser/system_monitor/media_storage_util.h
@@ -59,7 +59,7 @@ class MediaStorageUtil {
// Given |path|, fill in |device_id|, |device_name|, and |relative_path|
// (from the root of the device) if they are not NULL.
- static void GetDeviceInfoFromPath(const FilePath& path,
+ static bool GetDeviceInfoFromPath(const FilePath& path,
std::string* device_id,
string16* device_name,
FilePath* relative_path);
@@ -70,7 +70,7 @@ class MediaStorageUtil {
static FilePath FindDevicePathById(const std::string& device_id);
protected:
- typedef void (*GetDeviceInfoFromPathFunction)(const FilePath& path,
+ typedef bool (*GetDeviceInfoFromPathFunction)(const FilePath& path,
std::string* device_id,
string16* device_name,
FilePath* relative_path);
@@ -84,7 +84,7 @@ class MediaStorageUtil {
MediaStorageUtil();
// Per platform implementation.
- static void GetDeviceInfoFromPathImpl(const FilePath& path,
+ static bool GetDeviceInfoFromPathImpl(const FilePath& path,
std::string* device_id,
string16* device_name,
FilePath* relative_path);

Powered by Google App Engine
This is Rietveld 408576698