Index: ppapi/proxy/ppapi_proxy_test.cc |
diff --git a/ppapi/proxy/ppapi_proxy_test.cc b/ppapi/proxy/ppapi_proxy_test.cc |
index 81793d5c174239920d52c7458d7dc0843b258903..a23362615329491b148a645cb287efc7c390562c 100644 |
--- a/ppapi/proxy/ppapi_proxy_test.cc |
+++ b/ppapi/proxy/ppapi_proxy_test.cc |
@@ -12,6 +12,7 @@ |
#include "base/observer_list.h" |
#include "base/run_loop.h" |
#include "ipc/ipc_sync_channel.h" |
+#include "ipc/message_filter.h" |
#include "ppapi/c/pp_errors.h" |
#include "ppapi/c/private/ppb_proxy_private.h" |
#include "ppapi/proxy/ppapi_messages.h" |
@@ -407,16 +408,8 @@ void PluginProxyMultiThreadTest::InternalSetUpTestOnSecondaryThread( |
// HostProxyTestHarness -------------------------------------------------------- |
-class HostProxyTestHarness::MockSyncMessageStatusReceiver |
- : public HostDispatcher::SyncMessageStatusReceiver { |
- public: |
- virtual void BeginBlockOnSyncMessage() OVERRIDE {} |
- virtual void EndBlockOnSyncMessage() OVERRIDE {} |
-}; |
- |
HostProxyTestHarness::HostProxyTestHarness(GlobalsConfiguration globals_config) |
- : globals_config_(globals_config), |
- status_receiver_(new MockSyncMessageStatusReceiver) { |
+ : globals_config_(globals_config) { |
} |
HostProxyTestHarness::~HostProxyTestHarness() { |
@@ -437,7 +430,6 @@ void HostProxyTestHarness::SetUpHarness() { |
host_dispatcher_.reset(new HostDispatcher( |
pp_module(), |
&MockGetInterface, |
- status_receiver_.release(), |
PpapiPermissions::AllPermissions())); |
host_dispatcher_->InitWithTestSink(&sink()); |
HostDispatcher::SetForInstance(pp_instance(), host_dispatcher_.get()); |
@@ -456,7 +448,6 @@ void HostProxyTestHarness::SetUpHarnessWithChannel( |
host_dispatcher_.reset(new HostDispatcher( |
pp_module(), |
&MockGetInterface, |
- status_receiver_.release(), |
PpapiPermissions::AllPermissions())); |
ppapi::Preferences preferences; |
host_dispatcher_->InitHostWithChannel(&delegate_mock_, |