| Index: chromeos/dbus/cros_disks_client.h
|
| diff --git a/chromeos/dbus/cros_disks_client.h b/chromeos/dbus/cros_disks_client.h
|
| index a4ea8c40ba0e0d38644ebcfd52830fee09906676..d41419be1a1af081c421edad69bf562f0dd9efe0 100644
|
| --- a/chromeos/dbus/cros_disks_client.h
|
| +++ b/chromeos/dbus/cros_disks_client.h
|
| @@ -178,11 +178,16 @@ class CHROMEOS_EXPORT CrosDisksClient {
|
|
|
| // Calls Mount method. |callback| is called after the method call succeeds,
|
| // otherwise, |error_callback| is called.
|
| - // When mounting an archive, the |source_format| argument passes the file
|
| - // extension (with the leading dot, for example ".zip"). If |source_format| is
|
| - // empty then the source format is auto-detected.
|
| + // When mounting an archive, caller may set two optional arguments:
|
| + // - The |source_format| argument passes the file extension (with the leading
|
| + // dot, for example ".zip"). If |source_format| is empty then the source
|
| + // format is auto-detected.
|
| + // - The |mount_label| argument passes an optional mount label to be used as
|
| + // the directory name of the mount point. If |mount_label| is empty, the
|
| + // mount label will be based on the |source_path|.
|
| virtual void Mount(const std::string& source_path,
|
| const std::string& source_format,
|
| + const std::string& mount_label,
|
| MountType type,
|
| const MountCallback& callback,
|
| const ErrorCallback& error_callback) = 0;
|
|
|