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

Unified Diff: content/browser/renderer_host/render_message_filter.cc

Issue 9981015: Add an interface for Flash to clear its data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/browser/renderer_host/pepper_file_message_filter.cc ('k') | content/common/plugin_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_message_filter.cc
diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc
index 00a84ad38b6dd86ca249c53e6d95149baf74fa1f..9fde070df070cefdcb13091f7183d8dc54023365 100644
--- a/content/browser/renderer_host/render_message_filter.cc
+++ b/content/browser/renderer_host/render_message_filter.cc
@@ -124,14 +124,14 @@ class OpenChannelToPpapiPluginCallback
context_(context) {
}
- virtual void GetChannelInfo(base::ProcessHandle* renderer_handle,
- int* renderer_id) {
+ virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle,
+ int* renderer_id) {
*renderer_handle = filter()->peer_handle();
*renderer_id = filter()->render_process_id();
}
- virtual void OnChannelOpened(base::ProcessHandle plugin_process_handle,
- const IPC::ChannelHandle& channel_handle) {
+ virtual void OnPpapiChannelOpened(base::ProcessHandle plugin_process_handle,
+ const IPC::ChannelHandle& channel_handle) {
ViewHostMsg_OpenChannelToPepperPlugin::WriteReplyParams(
reply_msg(), plugin_process_handle, channel_handle);
SendReplyAndDeleteThis();
@@ -158,14 +158,14 @@ class OpenChannelToPpapiBrokerCallback
virtual ~OpenChannelToPpapiBrokerCallback() {}
- virtual void GetChannelInfo(base::ProcessHandle* renderer_handle,
- int* renderer_id) {
+ virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle,
+ int* renderer_id) {
*renderer_handle = filter_->peer_handle();
*renderer_id = filter_->render_process_id();
}
- virtual void OnChannelOpened(base::ProcessHandle broker_process_handle,
- const IPC::ChannelHandle& channel_handle) {
+ virtual void OnPpapiChannelOpened(base::ProcessHandle broker_process_handle,
+ const IPC::ChannelHandle& channel_handle) {
filter_->Send(new ViewMsg_PpapiBrokerChannelCreated(routing_id_,
request_id_,
broker_process_handle,
« no previous file with comments | « content/browser/renderer_host/pepper_file_message_filter.cc ('k') | content/common/plugin_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698