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

Unified Diff: content/browser/presentation/presentation_service_impl_unittest.cc

Issue 2714693002: [Presentation API] Use connection proxy to change connection state to 'closed' (Closed)
Patch Set: Created 3 years, 10 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/browser/presentation/presentation_service_impl_unittest.cc
diff --git a/content/browser/presentation/presentation_service_impl_unittest.cc b/content/browser/presentation/presentation_service_impl_unittest.cc
index aa2339cef5ff0b2e0db667d50a0ba04bd017f444..2b52771f0de8e3a83e16ed3e2354d42e14bca07b 100644
--- a/content/browser/presentation/presentation_service_impl_unittest.cc
+++ b/content/browser/presentation/presentation_service_impl_unittest.cc
@@ -187,6 +187,7 @@ class MockPresentationConnection : public blink::mojom::PresentationConnection {
MOCK_METHOD1(OnConnectionMessageReceived,
void(const blink::mojom::ConnectionMessage& message));
MOCK_METHOD1(DidChangeState, void(PresentationConnectionState state));
+ MOCK_METHOD0(OnClose, void());
};
class MockPresentationServiceClient

Powered by Google App Engine
This is Rietveld 408576698