Index: chromeos/disks/disk_mount_manager.h |
diff --git a/chromeos/disks/disk_mount_manager.h b/chromeos/disks/disk_mount_manager.h |
index 4edc475256855453962a80c55fd70e6db823c5f5..85b8e0d5e3363782ee8189631cf23ab3437ac569 100644 |
--- a/chromeos/disks/disk_mount_manager.h |
+++ b/chromeos/disks/disk_mount_manager.h |
@@ -198,6 +198,9 @@ class CHROMEOS_EXPORT DiskMountManager { |
// A callback type for UnmountPath method. |
typedef base::Callback<void(MountError error_code)> UnmountPathCallback; |
+ // A callback type for EnsureMountInfoRefreshed method. |
+ typedef base::Callback<void(bool success)> EnsureMountInfoRefreshedCallback; |
+ |
// Implement this interface to be notified about disk/mount related events. |
class Observer { |
public: |
@@ -237,7 +240,8 @@ class CHROMEOS_EXPORT DiskMountManager { |
virtual const MountPointMap& mount_points() const = 0; |
// Requests refreshing all the information about mounted disks. |
stevenjb
2014/07/10 00:53:21
Update comment
kinaba
2014/07/10 01:36:32
Done.
|
- virtual void RequestMountInfoRefresh() = 0; |
+ virtual void EnsureMountInfoRefreshed( |
+ const EnsureMountInfoRefreshedCallback& callback) = 0; |
// Mounts a device. |
// Note that the mount operation may fail. To find out the result, one should |