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

Unified Diff: ipc/ipc_channel_nacl.cc

Issue 2484943004: Remove unused parts of IPC::ChannelHandle. (Closed)
Patch Set: 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
Index: ipc/ipc_channel_nacl.cc
diff --git a/ipc/ipc_channel_nacl.cc b/ipc/ipc_channel_nacl.cc
index e120b9dff0a3ef5c90edd9906bdbda3ed6789de8..1fde420ef0c8d3e9ef0982b128fd20a1c7d568e1 100644
--- a/ipc/ipc_channel_nacl.cc
+++ b/ipc/ipc_channel_nacl.cc
@@ -129,13 +129,11 @@ ChannelNacl::ChannelNacl(const IPC::ChannelHandle& channel_handle,
mode_(mode),
waiting_connect_(true),
pipe_(-1),
- pipe_name_(channel_handle.name),
weak_ptr_factory_(this) {
if (!CreatePipe(channel_handle)) {
// The pipe may have been closed already.
const char *modestr = (mode_ & MODE_SERVER_FLAG) ? "server" : "client";
- LOG(WARNING) << "Unable to create pipe named \"" << channel_handle.name
- << "\" in " << modestr << " mode";
+ LOG(WARNING) << "Unable to create pipe in " << modestr << " mode";
}
}
@@ -158,7 +156,7 @@ bool ChannelNacl::Connect() {
WillConnect();
if (pipe_ == -1) {
- DLOG(WARNING) << "Channel creation failed: " << pipe_name_;
+ DLOG(WARNING) << "Channel creation failed";
return false;
}

Powered by Google App Engine
This is Rietveld 408576698