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

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

Issue 2340433003: [Presentation API] 1-UA: notify receiver page when receiver connection becomes available (blink sid… (Closed)
Patch Set: resolve code review comments from dcheng Created 4 years, 3 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
« no previous file with comments | « no previous file | content/renderer/presentation/presentation_dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 20b3d6e69617614f0edd1a99fd46384a2e9cb520..bb5bcc14afcda5e2a97c1354671cb06c09019321 100644
--- a/content/browser/presentation/presentation_service_impl_unittest.cc
+++ b/content/browser/presentation/presentation_service_impl_unittest.cc
@@ -197,6 +197,13 @@ class MockPresentationServiceClient
MOCK_METHOD1(OnDefaultSessionStarted,
void(const blink::mojom::PresentationSessionInfo& session_info));
+ void OnReceiverConnectionAvailable(
+ blink::mojom::PresentationSessionInfoPtr session_info) override {
+ OnReceiverConnectionAvailable(*session_info);
+ }
+ MOCK_METHOD1(OnReceiverConnectionAvailable,
+ void(const blink::mojom::PresentationSessionInfo& session_info));
+
std::vector<blink::mojom::SessionMessagePtr> messages_received_;
};
« no previous file with comments | « no previous file | content/renderer/presentation/presentation_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698