Index: ppapi/proxy/dispatcher.cc |
diff --git a/ppapi/proxy/dispatcher.cc b/ppapi/proxy/dispatcher.cc |
index 7ecd2c1b5df1f75d0928f427896fd90bc15cc5ed..62085dda3d1e877cf16a1f5c633900761c63a226 100644 |
--- a/ppapi/proxy/dispatcher.cc |
+++ b/ppapi/proxy/dispatcher.cc |
@@ -25,6 +25,10 @@ Dispatcher::Dispatcher(PP_GetInterface_Func local_get_interface) |
Dispatcher::~Dispatcher() { |
} |
+void Dispatcher::AddFilter(IPC::Channel::Listener* listener) { |
+ filters_.push_back(listener); |
+} |
+ |
InterfaceProxy* Dispatcher::GetInterfaceProxy(ApiID id) { |
InterfaceProxy* proxy = proxies_[id].get(); |
if (!proxy) { |