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

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: fix unittest errors 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 04a6edea0e8c6c8a23ea11b4e6af6015cfabde23..23ffaa5c8493d5b4322fbfd6998be11eff124b25 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