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

Unified Diff: ipc/ipc_channel_proxy.cc

Issue 2494373002: Remove IPC channel IDs. (Closed)
Patch Set: rebase Created 4 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
« no previous file with comments | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_logging.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 43b53fe3c377fea62c9721b938f3fbacbec494c7..0cf4e51aca3aa37099c9ab1f77ed27eb2ad60931 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -73,7 +73,6 @@ void ChannelProxy::Context::CreateChannel(
base::AutoLock l(channel_lifetime_lock_);
DCHECK(!channel_);
DCHECK_EQ(factory->GetIPCTaskRunner(), ipc_task_runner_);
- channel_id_ = factory->GetName();
channel_ = factory->BuildChannel(this);
Channel::AssociatedInterfaceSupport* support =
@@ -103,7 +102,7 @@ bool ChannelProxy::Context::TryFilters(const Message& message) {
}
#ifdef IPC_MESSAGE_LOG_ENABLED
if (logger->Enabled())
- logger->OnPostDispatchMessage(message, channel_id_);
+ logger->OnPostDispatchMessage(message);
#endif
return true;
}
@@ -349,7 +348,7 @@ void ChannelProxy::Context::OnDispatchMessage(const Message& message) {
#ifdef IPC_MESSAGE_LOG_ENABLED
if (logger->Enabled())
- logger->OnPostDispatchMessage(message, channel_id_);
+ logger->OnPostDispatchMessage(message);
#endif
}
@@ -570,7 +569,7 @@ bool ChannelProxy::Send(Message* message) {
#endif
#ifdef IPC_MESSAGE_LOG_ENABLED
- Logging::GetInstance()->OnSendMessage(message, context_->channel_id());
+ Logging::GetInstance()->OnSendMessage(message);
#endif
context_->Send(message);
« no previous file with comments | « ipc/ipc_channel_proxy.h ('k') | ipc/ipc_logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698