summaryrefslogtreecommitdiff
path: root/chromium/extensions/common/api/mojo_private.idl
blob: 358456f876d1b95b38202442363c316485c06b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// The chrome.mojoPrivate API provides access to the mojo modules.
namespace mojoPrivate {
  interface Functions {
    // Returns a promise that will resolve to an asynchronously
    // loaded module.
    [nocompile] static any requireAsync(DOMString name);
  };

};