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

Unified Diff: chrome/browser/chromeos/disks/disk_mount_manager.h

Issue 10829160: Created a helper function "FindDiskBySourcePath" in DiskMountManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/chromeos/disks/disk_mount_manager.h
diff --git a/chrome/browser/chromeos/disks/disk_mount_manager.h b/chrome/browser/chromeos/disks/disk_mount_manager.h
index df6dd185cd84b16ffe4b39f44da00bbbcdee7759..bfdc2f58be2557271c1016322e9323373532496e 100644
--- a/chrome/browser/chromeos/disks/disk_mount_manager.h
+++ b/chrome/browser/chromeos/disks/disk_mount_manager.h
@@ -198,6 +198,9 @@ class DiskMountManager {
// Gets the list of disks found.
virtual const DiskMap& disks() const = 0;
+ // Returns Disk object corresponding to |source_path| or NULL on failure.
+ virtual Disk* FindDiskBySourcePath(const std::string& source_path) const = 0;
+
// Gets the list of mount points.
virtual const MountPointMap& mount_points() const = 0;

Powered by Google App Engine
This is Rietveld 408576698