aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbus/vm_applications/apps.proto16
-rw-r--r--dbus/vm_applications/dbus-constants.h1
2 files changed, 17 insertions, 0 deletions
diff --git a/dbus/vm_applications/apps.proto b/dbus/vm_applications/apps.proto
index 2b473a0..cf76bed 100644
--- a/dbus/vm_applications/apps.proto
+++ b/dbus/vm_applications/apps.proto
@@ -58,3 +58,19 @@ message TerminalParams {
// The owner of the VM and container.
string owner_id = 4;
}
+
+// MIME type mapping information internal to the container.
+message MimeTypes {
+ // MIME type mappings with file extension as the key without a period prefix
+ // and MIME type as the value.
+ map<string, string> mime_type_mappings = 1;
+
+ // Name of the VM this came from.
+ string vm_name = 2;
+
+ // Name of the container this came from.
+ string container_name = 3;
+
+ // The owner of the VM and container.
+ string owner_id = 4;
+}
diff --git a/dbus/vm_applications/dbus-constants.h b/dbus/vm_applications/dbus-constants.h
index fc0b65e..2e36178 100644
--- a/dbus/vm_applications/dbus-constants.h
+++ b/dbus/vm_applications/dbus-constants.h
@@ -14,6 +14,7 @@ const char kVmApplicationsServiceInterface[] = "org.chromium.VmApplicationsServi
const char kVmApplicationsServiceUpdateApplicationListMethod[] = "UpdateApplicationList";
const char kVmApplicationsServiceLaunchTerminalMethod[] = "LaunchTerminal";
+const char kVmApplicationsServiceUpdateMimeTypesMethod[] = "UpdateMimeTypes";
} // namespace apps
} // namespace vm_tools