Index: chrome/common/ipc_channel_posix.h |
diff --git a/chrome/common/ipc_channel_posix.h b/chrome/common/ipc_channel_posix.h |
index 5e8d977192f5b0ec9f6e09dd60e6614bfeb73c2f..9b4157ed0d22d0ead2fca821c93f9e96056b5cef 100644 |
--- a/chrome/common/ipc_channel_posix.h |
+++ b/chrome/common/ipc_channel_posix.h |
@@ -23,6 +23,9 @@ namespace IPC { |
// our behalf and they've just shipped us the socket. |
void AddChannelSocket(const std::string& name, int socket); |
+// Remove the channel name mapping, and close the corresponding socket. |
+void RemoveAndCloseChannelSocket(const std::string& name); |
+ |
// Construct a socket pair appropriate for IPC: UNIX domain, nonblocking. |
// Returns false on error. |
bool SocketPair(int* fd1, int* fd2); |