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

Side by Side Diff: mojo/shell/public/interfaces/interface_provider.mojom

Issue 1686223002: Move InterfaceProvider into the shell::mojom namespace like the rest of the shell interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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
« no previous file with comments | « mojo/shell/public/cpp/shell_connection.h ('k') | mojo/shell/public/interfaces/shell.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 module mojo; 5 module mojo.shell.mojom;
6 6
7 // An interface through which a client may request interfaces from a host. 7 // An interface through which a client may request interfaces from a host.
8 // Instances of this interface are created within the context of an 8 // 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 9 // already-identified client and host pair, so there is no need to explicitly
10 // identify the client or host in the methods below. 10 // identify the client or host in the methods below.
11 interface InterfaceProvider { 11 interface InterfaceProvider {
12 // Asks the host to provide an implementation of the interface identified by 12 // Asks the host to provide an implementation of the interface identified by
13 // |interface_name| through the message |pipe| endpoint supplied by the caller . 13 // |interface_name| through the message |pipe| endpoint supplied by the caller .
14 // If the host is not willing or able to provide the requested interface, it 14 // If the host is not willing or able to provide the requested interface, it
15 // must close the |pipe|. 15 // must close the |pipe|.
16 GetInterface(string interface_name, handle<message_pipe> pipe); 16 GetInterface(string interface_name, handle<message_pipe> pipe);
17 }; 17 };
OLDNEW
« no previous file with comments | « mojo/shell/public/cpp/shell_connection.h ('k') | mojo/shell/public/interfaces/shell.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698