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

Unified Diff: ipc/ipc_channel_proxy.h

Issue 1354973006: ipc: Remove unnecessary attachment broker plumbing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile errors. Created 5 years, 3 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
« no previous file with comments | « ipc/ipc_channel_posix.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_proxy.h
diff --git a/ipc/ipc_channel_proxy.h b/ipc/ipc_channel_proxy.h
index 935aa772091b990ab95c96c5635bff4363daecef..f2eb82beba357849e43056a3e1bce9fb4711840a 100644
--- a/ipc/ipc_channel_proxy.h
+++ b/ipc/ipc_channel_proxy.h
@@ -83,15 +83,11 @@ class IPC_EXPORT ChannelProxy : public Endpoint, public base::NonThreadSafe {
// on the background thread. Any message not handled by the filter will be
// dispatched to the listener. The given task runner correspond to a thread
// on which IPC::Channel is created and used (e.g. IO thread).
- // TODO(erikchen): Remove default parameter for |broker|. It exists only to
- // make the upcoming refactor decomposable into smaller CLs.
- // http://crbug.com/493414.
static scoped_ptr<ChannelProxy> Create(
const IPC::ChannelHandle& channel_handle,
Channel::Mode mode,
Listener* listener,
- const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner,
- AttachmentBroker* broker = nullptr);
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner);
static scoped_ptr<ChannelProxy> Create(
scoped_ptr<ChannelFactory> factory,
@@ -104,13 +100,9 @@ class IPC_EXPORT ChannelProxy : public Endpoint, public base::NonThreadSafe {
// proxy that was not initialized in its constructor. If create_pipe_now is
// true, the pipe is created synchronously. Otherwise it's created on the IO
// thread.
- // TODO(erikchen): Remove default parameter for |broker|. It exists only to
- // make the upcoming refactor decomposable into smaller CLs.
- // http://crbug.com/493414.
void Init(const IPC::ChannelHandle& channel_handle,
Channel::Mode mode,
- bool create_pipe_now,
- AttachmentBroker* broker = nullptr);
+ bool create_pipe_now);
void Init(scoped_ptr<ChannelFactory> factory, bool create_pipe_now);
// Close the IPC::Channel. This operation completes asynchronously, once the
« no previous file with comments | « ipc/ipc_channel_posix.cc ('k') | ipc/ipc_channel_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698