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

Unified Diff: ipc/ipc_channel_proxy.cc

Issue 2697033004: Mojo C++ bindings: remove usage of AssociatedGroup from ipc/ (Closed)
Patch Set: . Created 3 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 | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_sync_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_proxy.cc
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index 6759c49f81af1283e073c604c167c1a6c76142bf..ef1c0b2272511d4f45e081af760b814c11b2db54 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -67,7 +67,6 @@ void ChannelProxy::Context::CreateChannel(
Channel::AssociatedInterfaceSupport* support =
channel_->GetAssociatedInterfaceSupport();
if (support) {
- associated_group_ = *support->GetAssociatedGroup();
thread_safe_channel_ = support->CreateThreadSafeChannel();
base::AutoLock l(pending_filters_lock_);
@@ -375,7 +374,6 @@ void ChannelProxy::Context::OnDispatchAssociatedInterfaceRequest(
void ChannelProxy::Context::ClearChannel() {
base::AutoLock l(channel_lifetime_lock_);
channel_.reset();
- associated_group_ = mojo::AssociatedGroup();
}
void ChannelProxy::Context::AddGenericAssociatedInterfaceForIOThread(
@@ -560,10 +558,6 @@ void ChannelProxy::AddGenericAssociatedInterfaceForIOThread(
context()->AddGenericAssociatedInterfaceForIOThread(name, factory);
}
-mojo::AssociatedGroup* ChannelProxy::GetAssociatedGroup() {
- return context()->associated_group();
-}
-
void ChannelProxy::GetGenericRemoteAssociatedInterface(
const std::string& name,
mojo::ScopedInterfaceEndpointHandle handle) {
« no previous file with comments | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_sync_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698