Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Side by Side Diff: mojo/public/interfaces/application/service_provider.mojom

Issue 1071693003: Uses mojom module names as Dart's package: import URI (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [DartUriBase="mojo/public/interfaces/application"]
5 module mojo; 6 module mojo;
6 7
7 // An interface through which a client may request services from a host. 8 // An interface through which a client may request services from a host.
8 // Instances of this interface are created within the context of an 9 // Instances of this interface are created within the context of an
9 // already-identified client and host pair, so there is no need to explicitly 10 // already-identified client and host pair, so there is no need to explicitly
10 // identify the client or host in the methods below. 11 // identify the client or host in the methods below.
11 interface ServiceProvider { 12 interface ServiceProvider {
12 // Asks the host to provide the service identified by |interface_name| through 13 // Asks the host to provide the service identified by |interface_name| through
13 // the message |pipe| endpoint supplied by the caller. If the host is not 14 // the message |pipe| endpoint supplied by the caller. If the host is not
14 // willing or able to provide the requested service, it should close the 15 // willing or able to provide the requested service, it should close the
15 // |pipe|. 16 // |pipe|.
16 ConnectToService(string interface_name, handle<message_pipe> pipe); 17 ConnectToService(string interface_name, handle<message_pipe> pipe);
17 }; 18 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698