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

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: add bug id and reviewer 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..e621e7dfba29403fdb7af47870d7a6ee476272ae 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;
+ content::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