Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: components/arc/common/obb_mounter.mojom

Issue 1995243002: Add OBB mounter Mojo interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/arc/common/obb_mounter.mojom
diff --git a/components/arc/common/obb_mounter.mojom b/components/arc/common/obb_mounter.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..c1ac0c77d9582fbb0628c9484c282e033a90c23d
--- /dev/null
+++ b/components/arc/common/obb_mounter.mojom
@@ -0,0 +1,20 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module arc.mojom;
+
+interface ObbMounterHost {
+ // Mounts the specified OBB file to the target path, the owner GID will be set
+ // to the specified value.
+ MountObb(string obb_file,
+ string target_path,
+ int32 owner_gid) => (bool success);
+
+ // Unmounts the OBB file mounted to the specifed path.
+ UnmountObb(string target_path) => (bool success);
+};
+
+interface ObbMounterInstance {
+ Init(ObbMounterHost host_ptr);
+};

Powered by Google App Engine
This is Rietveld 408576698