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

Unified Diff: mojo/public/cpp/bindings/lib/multiplex_router.h

Issue 1465293002: Mojo C++ bindings: introduce public associated-interface-related types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: mojo/public/cpp/bindings/lib/multiplex_router.h
diff --git a/mojo/public/cpp/bindings/lib/multiplex_router.h b/mojo/public/cpp/bindings/lib/multiplex_router.h
index d9e7323b31395300f5e4f6dba2fae4ed16d26a68..fc0d27eaaed90eaba6acca11ee0c6a834c459d90 100644
--- a/mojo/public/cpp/bindings/lib/multiplex_router.h
+++ b/mojo/public/cpp/bindings/lib/multiplex_router.h
@@ -27,6 +27,9 @@
#include "mojo/public/cpp/environment/environment.h"
namespace mojo {
+
+class AssociatedGroup;
+
namespace internal {
class InterfaceEndpointClient;
@@ -85,6 +88,10 @@ class MultiplexRouter
// and notifies all interfaces running on this pipe.
void RaiseError();
+ scoped_ptr<AssociatedGroup> CreateAssociatedGroup();
+
+ static MultiplexRouter* GetRouter(AssociatedGroup* associated_group);
+
// ---------------------------------------------------------------------------
// The following public methods are called on the creating thread.
« no previous file with comments | « mojo/public/cpp/bindings/lib/interface_endpoint_client.cc ('k') | mojo/public/cpp/bindings/lib/multiplex_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698