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

Unified Diff: ppapi/proxy/dispatcher.h

Issue 10572040: Create a PPAPI host for new resource message routing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | « ppapi/ppapi_internal.gyp ('k') | ppapi/proxy/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ppapi/ppapi_internal.gyp ('k') | ppapi/proxy/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698