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

Unified Diff: ppapi/proxy/dispatcher.h

Issue 10544089: Implement the file chooser as a new resource "host" (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_tests.gypi ('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 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_;
+
private:
friend class HostDispatcherTest;
friend class PluginDispatcherTest;
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698