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

Unified Diff: content/browser/ppapi_plugin_process_host.h

Issue 2122313004: Ignore certain messages in plugin broker process if they are not sent by the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 5 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
Index: content/browser/ppapi_plugin_process_host.h
diff --git a/content/browser/ppapi_plugin_process_host.h b/content/browser/ppapi_plugin_process_host.h
index 7c649017633313b0fc7a6cb7667b3753eb38bb8e..46401e8817fec25f35a2ac2e953dfd79c0b468ce 100644
--- a/content/browser/ppapi_plugin_process_host.h
+++ b/content/browser/ppapi_plugin_process_host.h
@@ -36,6 +36,8 @@ class PpapiPluginProcessHost : public BrowserChildProcessHostDelegate,
class Client {
public:
// Gets the information about the renderer that's requesting the channel.
+ // If |renderer_handle| is base::kNullProcessHandle, this channel is used by
+ // the browser itself.
virtual void GetPpapiChannelInfo(base::ProcessHandle* renderer_handle,
int* renderer_id) = 0;
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | content/browser/ppapi_plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698