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

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

Issue 391703002: Implement ConstraintNotSatisfiedError for getusermedia (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and change the reviewers list Created 6 years, 4 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_video_capturer_source.h
diff --git a/content/renderer/media/media_stream_video_capturer_source.h b/content/renderer/media/media_stream_video_capturer_source.h
index fff2dcc7938aabb050139878d226d6a3ba2d3b94..a0dd791529c39110966e0a60cd369ba3001124dc 100644
--- a/content/renderer/media/media_stream_video_capturer_source.h
+++ b/content/renderer/media/media_stream_video_capturer_source.h
@@ -22,10 +22,9 @@ namespace content {
class CONTENT_EXPORT VideoCapturerDelegate
: public base::RefCountedThreadSafe<VideoCapturerDelegate> {
public:
- typedef base::Callback<void(bool running)> RunningCallback;
+ typedef base::Callback<void(MediaStreamRequestResult result)> RunningCallback;
- explicit VideoCapturerDelegate(
- const StreamDeviceInfo& device_info);
+ explicit VideoCapturerDelegate(const StreamDeviceInfo& device_info);
// Collects the formats that can currently be used.
// |max_requested_height|, |max_requested_width|, and

Powered by Google App Engine
This is Rietveld 408576698