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

Unified Diff: ipc/ipc_channel_posix.h

Issue 1292263003: ipc: Use a global for the process's attachment broker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_message2
Patch Set: Created 5 years, 4 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: ipc/ipc_channel_posix.h
diff --git a/ipc/ipc_channel_posix.h b/ipc/ipc_channel_posix.h
index 8760135209ee7a0a27dbb098a2b6c6bd7cc49a31..be47705db0178f84ccdf7b7e5861c5a813b21c92 100644
--- a/ipc/ipc_channel_posix.h
+++ b/ipc/ipc_channel_posix.h
@@ -29,8 +29,7 @@ class IPC_EXPORT ChannelPosix : public Channel,
// |broker| must outlive the newly created object.
ChannelPosix(const IPC::ChannelHandle& channel_handle,
Mode mode,
- Listener* listener,
- AttachmentBroker* broker);
+ Listener* listener);
~ChannelPosix() override;
// Channel implementation
@@ -182,9 +181,6 @@ class IPC_EXPORT ChannelPosix : public Channel,
static int global_pid_;
#endif // OS_LINUX
- // |broker_| must outlive this instance.
- AttachmentBroker* broker_;
-
DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelPosix);
};

Powered by Google App Engine
This is Rietveld 408576698