Index: content/renderer/presentation/presentation_dispatcher_unittest.cc |
diff --git a/content/renderer/presentation/presentation_dispatcher_unittest.cc b/content/renderer/presentation/presentation_dispatcher_unittest.cc |
index f2becd5142ee516a2ee4b9ba3ad3d8029f74538c..3b3dd432df0ecc51f8152a9a1f2b7fc46b0642f8 100644 |
--- a/content/renderer/presentation/presentation_dispatcher_unittest.cc |
+++ b/content/renderer/presentation/presentation_dispatcher_unittest.cc |
@@ -106,8 +106,6 @@ class MockPresentationService : public PresentationService { |
MOCK_METHOD2(Terminate, |
void(const GURL& presentation_url, |
const std::string& presentation_id)); |
- MOCK_METHOD1(ListenForConnectionMessages, |
- void(const PresentationInfo& presentation_info)); |
}; |
class TestPresentationConnectionProxy : public PresentationConnectionProxy { |
@@ -338,7 +336,6 @@ TEST_F(PresentationDispatcherTest, TestStartPresentation) { |
EXPECT_FALSE(connection.proxy()); |
{ |
base::RunLoop run_loop; |
- EXPECT_CALL(presentation_service_, ListenForConnectionMessages(_)); |
EXPECT_CALL(presentation_service_, SetPresentationConnection(_, _)); |
EXPECT_CALL(presentation_service_, StartPresentationInternal(gurls_, _)) |
.WillOnce(Invoke( |
@@ -410,7 +407,6 @@ TEST_F(PresentationDispatcherTest, TestReconnectPresentation) { |
EXPECT_FALSE(connection.proxy()); |
{ |
base::RunLoop run_loop; |
- EXPECT_CALL(presentation_service_, ListenForConnectionMessages(_)); |
EXPECT_CALL(presentation_service_, SetPresentationConnection(_, _)); |
EXPECT_CALL(presentation_service_, |
ReconnectPresentationInternal(gurls_, _, _)) |