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

Unified Diff: ipc/ipc_channel_win.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_win.h
diff --git a/ipc/ipc_channel_win.h b/ipc/ipc_channel_win.h
index 9d561b010a56ee77d71057f40213730691a2948e..6fe0a766bc95f687ca55a38b157e35e1449d37ef 100644
--- a/ipc/ipc_channel_win.h
+++ b/ipc/ipc_channel_win.h
@@ -30,8 +30,7 @@ class ChannelWin : public Channel,
// |broker| must outlive the newly created object.
ChannelWin(const IPC::ChannelHandle& channel_handle,
Mode mode,
- Listener* listener,
- AttachmentBroker* broker);
+ Listener* listener);
~ChannelWin() override;
// Channel implementation
@@ -131,9 +130,6 @@ class ChannelWin : public Channel,
scoped_ptr<base::ThreadChecker> thread_check_;
- // |broker_| must outlive this instance.
- AttachmentBroker* broker_;
-
base::WeakPtrFactory<ChannelWin> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(ChannelWin);
};

Powered by Google App Engine
This is Rietveld 408576698