Created
June 15, 2015 23:13
-
-
Save abarth/775f9a03b966a7813899 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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. | |
module assets; | |
interface AssetManager { | |
FetchAssetBundle(string asset_bundle_url, AssetBundle& bundle); | |
} | |
interface AssetWatcher { | |
OnAssetUpdated(string asset_name); | |
} | |
interface AssetBundle { | |
Load(string asset_name) => (handle<data_pipe_consumer>); | |
Watch(string asset_name, AssetWatcher watcher); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment