Index: chrome/browser/storage_monitor/media_storage_util.h |
diff --git a/chrome/browser/storage_monitor/media_storage_util.h b/chrome/browser/storage_monitor/media_storage_util.h |
index baa1b19be7db923166a195f4cdd304ea19137971..6f1a5bbdcf3c140badfd4586373b34f54b5740b2 100644 |
--- a/chrome/browser/storage_monitor/media_storage_util.h |
+++ b/chrome/browser/storage_monitor/media_storage_util.h |
@@ -43,6 +43,11 @@ class MediaStorageUtil { |
StorageInfo* device_info, |
base::FilePath* relative_path); |
+ // Get a display name for the given |absolute_path|. |
+ // Return empty string if there is no corresponding storage device. |
+ static string16 GetGalleryDisplayNameFromPath( |
+ const base::FilePath& absolute_path); |
+ |
// Get a base::FilePath for the given |device_id|. If the device isn't a mass |
// storage type, the base::FilePath will be empty. This does not check that |
// the device is connected. |