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

Unified Diff: content/renderer/media/user_media_client_impl.h

Issue 2538033003: Implement GetUserMedia device ID constraint processing in the renderer. (Closed)
Patch Set: hta's comments Created 4 years 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/common/media/media_stream_options.h ('k') | content/renderer/media/user_media_client_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.h
diff --git a/content/renderer/media/user_media_client_impl.h b/content/renderer/media/user_media_client_impl.h
index e9202d63f8b38d1b7c4ac2717e216c614597b458..2492ccc00bebd8fc887990a2b46527f765a0e549 100644
--- a/content/renderer/media/user_media_client_impl.h
+++ b/content/renderer/media/user_media_client_impl.h
@@ -242,6 +242,20 @@ class CONTENT_EXPORT UserMediaClientImpl
const ::mojom::MediaDevicesDispatcherHostPtr& GetMediaDevicesDispatcher();
+ void SelectUserMediaDevice(
+ int request_id,
+ const blink::WebUserMediaRequest& user_media_request,
+ std::unique_ptr<StreamControls> controls,
+ bool enable_automatic_output_device_selection,
+ const url::Origin& security_origin,
+ const EnumerationResult& device_enumeration);
+ void FinalizeRequestUserMedia(
+ int request_id,
+ const blink::WebUserMediaRequest& user_media_request,
+ std::unique_ptr<StreamControls> controls,
+ bool enable_automatic_output_device_selection,
+ const url::Origin& security_origin);
+
// Callback invoked by MediaDevicesEventDispatcher when a device-change
// notification arrives.
void DevicesChanged(MediaDeviceType device_type,
« no previous file with comments | « content/common/media/media_stream_options.h ('k') | content/renderer/media/user_media_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698