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

Unified Diff: mojo/public/cpp/bindings/lib/associated_group.cc

Issue 2100683002: Mojo C++ Bindings: Extract AssociatedGroupController from MultiplexRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops more gyp ugh Created 4 years, 6 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: mojo/public/cpp/bindings/lib/associated_group.cc
diff --git a/mojo/public/cpp/bindings/lib/associated_group.cc b/mojo/public/cpp/bindings/lib/associated_group.cc
index c3bde6f1b474d7733280cc97899c5b41dbfca5d7..a9c53b5e86a8889bad3890e1119243fd5a721795 100644
--- a/mojo/public/cpp/bindings/lib/associated_group.cc
+++ b/mojo/public/cpp/bindings/lib/associated_group.cc
@@ -4,14 +4,14 @@
#include "mojo/public/cpp/bindings/associated_group.h"
-#include "mojo/public/cpp/bindings/lib/multiplex_router.h"
+#include "mojo/public/cpp/bindings/associated_group_controller.h"
namespace mojo {
AssociatedGroup::AssociatedGroup() {}
AssociatedGroup::AssociatedGroup(const AssociatedGroup& other)
- : router_(other.router_) {}
+ : controller_(other.controller_) {}
AssociatedGroup::~AssociatedGroup() {}
@@ -19,17 +19,17 @@ AssociatedGroup& AssociatedGroup::operator=(const AssociatedGroup& other) {
if (this == &other)
return *this;
- router_ = other.router_;
+ controller_ = other.controller_;
return *this;
}
void AssociatedGroup::CreateEndpointHandlePair(
ScopedInterfaceEndpointHandle* local_endpoint,
ScopedInterfaceEndpointHandle* remote_endpoint) {
- if (!router_)
+ if (!controller_)
return;
- router_->CreateEndpointHandlePair(local_endpoint, remote_endpoint);
+ controller_->CreateEndpointHandlePair(local_endpoint, remote_endpoint);
}
} // namespace mojo
« no previous file with comments | « mojo/public/cpp/bindings/interface_id.h ('k') | mojo/public/cpp/bindings/lib/associated_group_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698