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

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

Issue 2790823002: Spec compliant video constraints for getUserMedia behind flag. (Closed)
Patch Set: rebase Created 3 years, 8 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/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 c995ac7d3afc97340a9df5129cd0bb7171c8e781..69b6ad4f4450440c976ae14437c23786765a7740 100644
--- a/content/renderer/media/user_media_client_impl.h
+++ b/content/renderer/media/user_media_client_impl.h
@@ -123,7 +123,7 @@ class CONTENT_EXPORT UserMediaClientImpl
// Returns no value if there is no request being processed. Use only for
// testing.
// TODO(guidou): Remove this method once spec-compliant constraints algorithm
- // for audio is implemented. http://crbug.com/657733
+ // for audio is implemented. http://crbug.com/543997
base::Optional<bool> AutomaticOutputDeviceSelectionEnabledForCurrentRequest();
private:
@@ -149,8 +149,7 @@ class CONTENT_EXPORT UserMediaClientImpl
// Creates a WebKit representation of stream sources based on
// |devices| from the MediaStreamDispatcher.
blink::WebMediaStreamSource InitializeVideoSourceObject(
- const StreamDeviceInfo& device,
- const blink::WebMediaConstraints& constraints);
+ const StreamDeviceInfo& device);
blink::WebMediaStreamSource InitializeAudioSourceObject(
const StreamDeviceInfo& device,
@@ -159,7 +158,6 @@ class CONTENT_EXPORT UserMediaClientImpl
void CreateVideoTracks(
const StreamDeviceInfoArray& devices,
- const blink::WebMediaConstraints& constraints,
blink::WebVector<blink::WebMediaStreamTrack>* webkit_tracks);
void CreateAudioTracks(
« no previous file with comments | « content/renderer/media/rtc_peer_connection_handler_unittest.cc ('k') | content/renderer/media/user_media_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698