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

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
Index: ppapi/proxy/dispatcher.h
diff --git a/ppapi/proxy/dispatcher.h b/ppapi/proxy/dispatcher.h
index 797fa08900fdd1a0f8d9c7708ed4e4dde2d1a764..7afaa67f2dd7faf74a5d4e28ed56fe80eba4bccd 100644
--- a/ppapi/proxy/dispatcher.h
+++ b/ppapi/proxy/dispatcher.h
@@ -50,6 +50,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();
}
@@ -95,6 +97,9 @@ class PPAPI_PROXY_EXPORT Dispatcher : public ProxyChannel {
return disallow_trusted_interfaces_;
}
+ protected:
+ std::vector<IPC::Channel::Listener*> filters_;
dmichael (off chromium) 2012/06/22 16:56:49 I don't think you're using this in this CL. Did it
brettw 2012/06/24 04:42:08 Actually, I'm not using anything in this CL yet :)
+
private:
friend class HostDispatcherTest;
friend class PluginDispatcherTest;

Powered by Google App Engine
This is Rietveld 408576698