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

Unified Diff: mojo/shell/public/interfaces/interface_provider.mojom

Issue 1684783002: Rename ServiceProvider to InterfaceProvider. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/public/interfaces/BUILD.gn ('k') | mojo/shell/public/interfaces/service_provider.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/interfaces/interface_provider.mojom
diff --git a/mojo/shell/public/interfaces/interface_provider.mojom b/mojo/shell/public/interfaces/interface_provider.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..9725f62e442d2ebd254c4f2cdfbad1e86b3ddede
--- /dev/null
+++ b/mojo/shell/public/interfaces/interface_provider.mojom
@@ -0,0 +1,17 @@
+// 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.
+
+module mojo;
+
+// An interface through which a client may request interfaces from a host.
+// Instances of this interface are created within the context of an
+// already-identified client and host pair, so there is no need to explicitly
+// identify the client or host in the methods below.
+interface InterfaceProvider {
+ // Asks the host to provide an implementation of the interface identified by
+ // |interface_name| through the message |pipe| endpoint supplied by the caller.
+ // If the host is not willing or able to provide the requested interface, it
+ // must close the |pipe|.
+ GetInterface(string interface_name, handle<message_pipe> pipe);
+};
« no previous file with comments | « mojo/shell/public/interfaces/BUILD.gn ('k') | mojo/shell/public/interfaces/service_provider.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698