Index: mojo/public/cpp/bindings/interface_endpoint_client.h |
diff --git a/mojo/public/cpp/bindings/lib/interface_endpoint_client.h b/mojo/public/cpp/bindings/interface_endpoint_client.h |
similarity index 93% |
rename from mojo/public/cpp/bindings/lib/interface_endpoint_client.h |
rename to mojo/public/cpp/bindings/interface_endpoint_client.h |
index 8c72ff12cb2c2d4029f71f153859b8c51943052c..9dc40a2ea3fb90874bc3079a2dfde5c811eacff6 100644 |
--- a/mojo/public/cpp/bindings/lib/interface_endpoint_client.h |
+++ b/mojo/public/cpp/bindings/interface_endpoint_client.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_ENDPOINT_CLIENT_H_ |
-#define MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_ENDPOINT_CLIENT_H_ |
+#ifndef MOJO_PUBLIC_CPP_BINDINGS_INTERFACE_ENDPOINT_CLIENT_H_ |
+#define MOJO_PUBLIC_CPP_BINDINGS_INTERFACE_ENDPOINT_CLIENT_H_ |
#include <stdint.h> |
@@ -24,10 +24,7 @@ |
namespace mojo { |
class AssociatedGroup; |
- |
-namespace internal { |
- |
-class MultiplexRouter; |
+class AssociatedGroupController; |
class InterfaceEndpointController; |
// InterfaceEndpointClient handles message sending and receiving of an interface |
@@ -63,7 +60,9 @@ class InterfaceEndpointClient : public MessageReceiverWithResponder { |
return !async_responders_.empty() || !sync_responses_.empty(); |
} |
- MultiplexRouter* router() const { return handle_.router(); } |
+ AssociatedGroupController* group_controller() const { |
+ return handle_.group_controller(); |
+ } |
AssociatedGroup* associated_group(); |
uint32_t interface_id() const; |
@@ -151,7 +150,6 @@ class InterfaceEndpointClient : public MessageReceiverWithResponder { |
DISALLOW_COPY_AND_ASSIGN(InterfaceEndpointClient); |
}; |
-} // namespace internal |
} // namespace mojo |
-#endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_INTERFACE_ENDPOINT_CLIENT_H_ |
+#endif // MOJO_PUBLIC_CPP_BINDINGS_INTERFACE_ENDPOINT_CLIENT_H_ |