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

Side by Side Diff: chrome/browser/ppapi_plugin_process_host.cc

Issue 5701004: Rename ResourceMessageFilter to RenderMessageFilter, since that's what it act... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ppapi_plugin_process_host.h ('k') | chrome/browser/printing/print_job_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ppapi_plugin_process_host.h" 5 #include "chrome/browser/ppapi_plugin_process_host.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/process_util.h" 9 #include "base/process_util.h"
10 #include "chrome/browser/renderer_host/resource_message_filter.h" 10 #include "chrome/browser/renderer_host/render_message_filter.h"
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/render_messages.h" 12 #include "chrome/common/render_messages.h"
13 #include "ipc/ipc_channel_handle.h" 13 #include "ipc/ipc_channel_handle.h"
14 #include "ipc/ipc_switches.h" 14 #include "ipc/ipc_switches.h"
15 #include "ppapi/proxy/ppapi_messages.h" 15 #include "ppapi/proxy/ppapi_messages.h"
16 16
17 PpapiPluginProcessHost::PpapiPluginProcessHost(ResourceMessageFilter* filter) 17 PpapiPluginProcessHost::PpapiPluginProcessHost(RenderMessageFilter* filter)
18 : BrowserChildProcessHost(ChildProcessInfo::PPAPI_PLUGIN_PROCESS, 18 : BrowserChildProcessHost(ChildProcessInfo::PPAPI_PLUGIN_PROCESS,
19 filter->resource_dispatcher_host()), 19 filter->resource_dispatcher_host()),
20 filter_(filter) { 20 filter_(filter) {
21 } 21 }
22 22
23 PpapiPluginProcessHost::~PpapiPluginProcessHost() { 23 PpapiPluginProcessHost::~PpapiPluginProcessHost() {
24 } 24 }
25 25
26 void PpapiPluginProcessHost::Init(const FilePath& path, 26 void PpapiPluginProcessHost::Init(const FilePath& path,
27 IPC::Message* reply_msg) { 27 IPC::Message* reply_msg) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 void PpapiPluginProcessHost::ReplyToRenderer( 120 void PpapiPluginProcessHost::ReplyToRenderer(
121 base::ProcessHandle plugin_handle, 121 base::ProcessHandle plugin_handle,
122 const IPC::ChannelHandle& channel_handle) { 122 const IPC::ChannelHandle& channel_handle) {
123 DCHECK(reply_msg_.get()); 123 DCHECK(reply_msg_.get());
124 ViewHostMsg_OpenChannelToPepperPlugin::WriteReplyParams(reply_msg_.get(), 124 ViewHostMsg_OpenChannelToPepperPlugin::WriteReplyParams(reply_msg_.get(),
125 plugin_handle, 125 plugin_handle,
126 channel_handle); 126 channel_handle);
127 filter_->Send(reply_msg_.release()); 127 filter_->Send(reply_msg_.release());
128 } 128 }
OLDNEW
« no previous file with comments | « chrome/browser/ppapi_plugin_process_host.h ('k') | chrome/browser/printing/print_job_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698