naiveproxy/components/arc/common/obb_mounter.mojom
2018-01-29 00:30:36 +08:00

21 lines
619 B
Plaintext

// 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@0(string obb_file,
string target_path,
int32 owner_gid) => (bool success);
// Unmounts the OBB file mounted to the specifed path.
UnmountObb@1(string target_path) => (bool success);
};
interface ObbMounterInstance {
Init@0(ObbMounterHost host_ptr);
};