Upstream version 11.40.277.0
[platform/framework/web/crosswalk.git] / src / mojo / public / interfaces / application / application.mojom
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module mojo;
6
7 import "mojo/public/interfaces/application/service_provider.mojom";
8
9 // Applications vend Services through the ServiceProvider interface. Services
10 // implement Interfaces.
11 interface Application {
12   // Initialize is guaranteed to be called before any AcceptConnection calls.
13   Initialize(array<string>? args);
14
15   AcceptConnection(string? requestor_url, ServiceProvider? provider);
16 };