blob: 76aa480aff8c06c3f6d7afd6761dcf7668f2080c [file] [log] [blame]
// Copyright 2017 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.
// Zip file creator provided by the utility process and exposed by mojo
// policy control to the chrome browser process on OS_CHROMEOS.
module chrome.mojom;
import "components/services/filesystem/public/interfaces/directory.mojom";
import "mojo/public/mojom/base/file.mojom";
import "mojo/public/mojom/base/file_path.mojom";
interface ZipFileCreator {
// OS_CHROMEOS: Create a |zip_file| from a list of source files.
CreateZipFile(filesystem.mojom.Directory source_dir_mojo,
mojo_base.mojom.FilePath source_dir,
array<mojo_base.mojom.FilePath> source_relative_paths,
mojo_base.mojom.File zip_file)
=> (bool success);
};