summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/cros_disks_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromeos/dbus/cros_disks_client.h')
-rw-r--r--chromeos/dbus/cros_disks_client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/dbus/cros_disks_client.h b/chromeos/dbus/cros_disks_client.h
index 88e6aee..a4ea8c4 100644
--- a/chromeos/dbus/cros_disks_client.h
+++ b/chromeos/dbus/cros_disks_client.h
@@ -178,7 +178,11 @@ 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.
virtual void Mount(const std::string& source_path,
+ const std::string& source_format,
MountType type,
const MountCallback& callback,
const ErrorCallback& error_callback) = 0;