summaryrefslogtreecommitdiffstats
path: root/mojo/shell/external_application_registrar.mojom
blob: db76aec4526fe0f100b257a683961f6d1017d318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2014 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.

import "mojo/public/interfaces/application/shell.mojom"

module mojo {

// This interface allows applications running outside the auspices of a Shell
// to request registration at the given application_url.
// The shell implementing this interface will make the calling application
// available to other apps at that URL and bind the provided Shell& to
// an impl capable of servicing the external application's connection requests.
interface ExternalApplicationRegistrar {
  Register(string application_url, Shell& shell) => ();
};

}