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

Unified Diff: content/renderer/npapi/plugin_channel_host.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/public/test/mock_render_thread.cc ('k') | content/renderer/npapi/plugin_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/npapi/plugin_channel_host.h
diff --git a/content/renderer/npapi/plugin_channel_host.h b/content/renderer/npapi/plugin_channel_host.h
index dd9dd1b51c769a380d1227f7dec04f4a448d4fcc..6c6f8e2593f22bf26eed19670209a43ce8b64d7d 100644
--- a/content/renderer/npapi/plugin_channel_host.h
+++ b/content/renderer/npapi/plugin_channel_host.h
@@ -9,10 +9,6 @@
#include "content/child/npapi/np_channel_base.h"
#include "ipc/ipc_channel_handle.h"
-namespace IPC {
-class AttachmentBroker;
-}
-
namespace content {
class NPObjectBase;
@@ -27,13 +23,11 @@ class PluginChannelHost : public NPChannelBase {
#endif
static PluginChannelHost* GetPluginChannelHost(
const IPC::ChannelHandle& channel_handle,
- base::SingleThreadTaskRunner* ipc_task_runner,
- IPC::AttachmentBroker* broker);
+ base::SingleThreadTaskRunner* ipc_task_runner);
bool Init(base::SingleThreadTaskRunner* ipc_task_runner,
bool create_pipe_now,
- base::WaitableEvent* shutdown_event,
- IPC::AttachmentBroker* broker) override;
+ base::WaitableEvent* shutdown_event) override;
int GenerateRouteID() override;
« no previous file with comments | « content/public/test/mock_render_thread.cc ('k') | content/renderer/npapi/plugin_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698