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

Unified Diff: content/renderer/media/user_media_client_impl_unittest.cc

Issue 2471543003: Add mojo-based support for media device-change notifications. (Closed)
Patch Set: remove unused #include Created 4 years, 1 month 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 | « content/renderer/media/media_devices_listener_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/user_media_client_impl_unittest.cc
diff --git a/content/renderer/media/user_media_client_impl_unittest.cc b/content/renderer/media/user_media_client_impl_unittest.cc
index 296e6ba01d9b6ce0a675fcb412ba9872691bb1a0..2bc5cbd3a6f4955e2f802645c5e3aceadbf6c593 100644
--- a/content/renderer/media/user_media_client_impl_unittest.cc
+++ b/content/renderer/media/user_media_client_impl_unittest.cc
@@ -75,6 +75,13 @@ class MockMediaDevicesDispatcherHost
callback.Run(result);
}
+ MOCK_METHOD3(SubscribeDeviceChangeNotifications,
+ void(MediaDeviceType type,
+ uint32_t subscription_id,
+ const url::Origin& security_origin));
+ MOCK_METHOD2(UnsubscribeDeviceChangeNotifications,
+ void(MediaDeviceType type, uint32_t subscription_id));
+
::mojom::MediaDevicesDispatcherHostPtr CreateInterfacePtrAndBind() {
return binding_.CreateInterfacePtrAndBind();
}
« no previous file with comments | « content/renderer/media/media_devices_listener_impl.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698