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

Unified Diff: content/public/common/routed_interface.mojom

Issue 2310563002: Adds routed interface support between RenderFrameHost and RenderFrame (Closed)
Patch Set: Created 4 years, 3 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
Index: content/public/common/routed_interface.mojom
diff --git a/content/public/common/routed_interface.mojom b/content/public/common/routed_interface.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..92a0467ae602217e84af6fcbd549334fc87e10e4
--- /dev/null
+++ b/content/public/common/routed_interface.mojom
@@ -0,0 +1,21 @@
+// Copyright 2016 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 content.mojom;
+
+// A generic, nominal interface to support the transitional interfaces below.
+interface RoutedInterface {};
+
+// Implemented by either side of a single route to bind associated interface
+// requests from the other side.
+interface RoutedInterfaceProvider {
+ GetRoutedInterface(string name, associated RoutedInterface& request);
+};
+
+// Implemented by anything which manages one or more routes, to map a routing
+// ID to an interface provider.
+interface RouteProvider {
+ GetRoutedInterfaces(int32 routing_id,
+ associated RoutedInterfaceProvider& request);
+};

Powered by Google App Engine
This is Rietveld 408576698