blob: c1c3dbf2df04fb5d2f131be9df8c8eaff292176d [file] [log] [blame]
// Copyright 2015 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.
[DartPackage="mojo_services"]
module mojo.asset_bundle;
[ServiceName="mojo::asset_bundle::AssetBundle"]
interface AssetBundle {
GetAsStream(string asset_name) => (handle<data_pipe_consumer> asset_data);
};
[ServiceName="mojo::asset_bundle::AssetUnpacker"]
interface AssetUnpacker {
UnpackZipStream(handle<data_pipe_consumer> zipped_assets,
AssetBundle& asset_bundle);
};