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

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

Issue 391703002: Implement ConstraintNotSatisfiedError for getusermedia (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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/media_stream_source.h
diff --git a/content/renderer/media/media_stream_source.h b/content/renderer/media/media_stream_source.h
index 18821c38cf5a4fc0c285f49932506ee570273069..05aae2ad56aad8e7ee7e297ff540d80fc879b6d1 100644
--- a/content/renderer/media/media_stream_source.h
+++ b/content/renderer/media/media_stream_source.h
@@ -25,7 +25,9 @@ class CONTENT_EXPORT MediaStreamSource
SourceStoppedCallback;
typedef base::Callback<void(MediaStreamSource* source,
- bool success)> ConstraintsCallback;
+ MediaStreamRequestResult result,
+ const blink::WebString& result_name)>
+ ConstraintsCallback;
// Source constraints key for
// http://dev.w3.org/2011/webrtc/editor/getusermedia.html.

Powered by Google App Engine
This is Rietveld 408576698