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

Unified Diff: content/renderer/presentation/presentation_dispatcher_unittest.cc

Issue 2943033003: [PresentationSevice] Use PresentationConnection to send messages from (Closed)
Patch Set: LOG -> DLOG Created 3 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: 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_, _, _))

Powered by Google App Engine
This is Rietveld 408576698