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

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

Issue 2343013002: [Presentation API] (MR side) 1-UA: notify receiver page when receiver connection becomes available (Closed)
Patch Set: resolve code review comments from Derek 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
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 bb5bcc14afcda5e2a97c1354671cb06c09019321..84b4b26367c14f867991ea24a2f6ed7b54e336b7 100644
--- a/content/browser/presentation/presentation_service_impl_unittest.cc
+++ b/content/browser/presentation/presentation_service_impl_unittest.cc
@@ -146,6 +146,12 @@ class MockPresentationServiceDelegate : public PresentationServiceDelegate {
const content::PresentationSessionInfo& connection,
const content::PresentationConnectionStateChangedCallback&
state_changed_cb));
+ MOCK_METHOD1(RegisterReceiverAvailableCallback,
+ void(const content::ReceiverConnectionAvailableCallback&));
+ MOCK_METHOD3(RegisterOffscreenPresentationClient,
+ void(int render_process_id,
+ int render_frame_id,
+ OffscreenPresentationClient*));
void set_screen_availability_listening_supported(bool value) {
screen_availability_listening_supported_ = value;

Powered by Google App Engine
This is Rietveld 408576698