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

Unified Diff: content/child/npapi/np_channel_base.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: Comments from avi. 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 | « content/child/child_thread_impl.cc ('k') | content/child/npapi/np_channel_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/np_channel_base.h
diff --git a/content/child/npapi/np_channel_base.h b/content/child/npapi/np_channel_base.h
index c05dc38d8d3dbbbea4245af7e5c842d459d206e0..3a8c9e36dac57b543e87fa302306ceef9f5edcd0 100644
--- a/content/child/npapi/np_channel_base.h
+++ b/content/child/npapi/np_channel_base.h
@@ -21,10 +21,6 @@ namespace base {
class SingleThreadTaskRunner;
}
-namespace IPC {
-class AttachmentBroker;
-}
-
namespace content {
// Encapsulates an IPC channel between a renderer and another process. Used to
@@ -109,8 +105,7 @@ class NPChannelBase : public IPC::Listener,
ChannelFactory factory,
base::SingleThreadTaskRunner* ipc_task_runner,
bool create_pipe_now,
- base::WaitableEvent* shutdown_event,
- IPC::AttachmentBroker* broker);
+ base::WaitableEvent* shutdown_event);
// Sends a message to all instances.
static void Broadcast(IPC::Message* message);
@@ -134,8 +129,7 @@ class NPChannelBase : public IPC::Listener,
virtual bool Init(base::SingleThreadTaskRunner* ipc_task_runner,
bool create_pipe_now,
- base::WaitableEvent* shutdown_event,
- IPC::AttachmentBroker* broker);
+ base::WaitableEvent* shutdown_event);
scoped_ptr<IPC::SyncChannel> channel_;
IPC::ChannelHandle channel_handle_;
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/child/npapi/np_channel_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698