• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5module mojo {
6
7// ServiceProvider is used to establish connections to services in a bi-
8// directional fashion between two applications.
9[Client=ServiceProvider]
10interface ServiceProvider {
11  // Connect the given message pipe handle to the named service. If the named
12  // service does not exist, then the handle will be closed.
13  ConnectToService(string? interface_name, handle<message_pipe>? pipe);
14};
15
16}
17