smbprovider: Add MountConfigProto to directory_entry
- Added MountConfigProto since MountConfig options will be passed from chrome-side.
BUG=chromium:888096
TEST=emerges
Change-Id: Ia5514b53b4070738aeb9ff1b55f212d9b90071ec
Reviewed-on: https://chromium-review.googlesource.com/1239199
Commit-Ready: jimmy gong <jimmyxgong@chromium.org>
Tested-by: jimmy gong <jimmyxgong@chromium.org>
Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org>
diff --git a/dbus/smbprovider/directory_entry.proto b/dbus/smbprovider/directory_entry.proto
index 6a6ffa5..940c185 100644
--- a/dbus/smbprovider/directory_entry.proto
+++ b/dbus/smbprovider/directory_entry.proto
@@ -64,6 +64,15 @@
// Authentication parameters.
optional string workgroup = 2;
optional string username = 3;
+
+ // Mount options set by the client.
+ optional MountConfigProto mount_config = 4;
+}
+
+message MountConfigProto {
+ // Boolean indication whether or not to enable NTLM protocol. False
+ // disables the NTLM protocol.
+ optional bool enable_ntlm = 1;
}
// Used for passing inputs into SmbProvider.Unmount().