Index: ppapi/proxy/dispatcher.h |
diff --git a/ppapi/proxy/dispatcher.h b/ppapi/proxy/dispatcher.h |
index 9fd2461dfdb4f606c13a36ac7450419ed28eba01..453fec84e157c4396f9a0ac5cbbfe31d3249a100 100644 |
--- a/ppapi/proxy/dispatcher.h |
+++ b/ppapi/proxy/dispatcher.h |
@@ -51,6 +51,8 @@ class PPAPI_PROXY_EXPORT Dispatcher : public ProxyChannel { |
// browser side. |
virtual bool IsPlugin() const = 0; |
+ void AddFilter(IPC::Channel::Listener* listener); |
+ |
VarSerializationRules* serialization_rules() const { |
return serialization_rules_.get(); |
} |
@@ -96,6 +98,9 @@ class PPAPI_PROXY_EXPORT Dispatcher : public ProxyChannel { |
return disallow_trusted_interfaces_; |
} |
+ protected: |
+ std::vector<IPC::Channel::Listener*> filters_; |
+ |
private: |
friend class HostDispatcherTest; |
friend class PluginDispatcherTest; |