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

Unified Diff: content/ppapi_plugin/broker_process_dispatcher.h

Issue 2069853002: Ignore certain messages in plugin broker process if they are not sent by the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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/ppapi_plugin/OWNERS ('k') | content/ppapi_plugin/broker_process_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/ppapi_plugin/broker_process_dispatcher.h
diff --git a/content/ppapi_plugin/broker_process_dispatcher.h b/content/ppapi_plugin/broker_process_dispatcher.h
index 9dca6df10b9b790939da71162ec0715223889a13..95401dd02375dd06bbc284807d8705c15d047bb3 100644
--- a/content/ppapi_plugin/broker_process_dispatcher.h
+++ b/content/ppapi_plugin/broker_process_dispatcher.h
@@ -24,7 +24,8 @@ class BrokerProcessDispatcher
public base::SupportsWeakPtr<BrokerProcessDispatcher> {
public:
BrokerProcessDispatcher(PP_GetInterface_Func get_plugin_interface,
- PP_ConnectInstance_Func connect_instance);
+ PP_ConnectInstance_Func connect_instance,
+ bool peer_is_browser);
~BrokerProcessDispatcher() override;
// IPC::Listener overrides.
@@ -88,6 +89,8 @@ class BrokerProcessDispatcher
const PPP_Flash_BrowserOperations_1_2* flash_browser_operations_1_2_;
const PPP_Flash_BrowserOperations_1_0* flash_browser_operations_1_0_;
+ bool peer_is_browser_;
+
DISALLOW_COPY_AND_ASSIGN(BrokerProcessDispatcher);
};
« no previous file with comments | « content/ppapi_plugin/OWNERS ('k') | content/ppapi_plugin/broker_process_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698