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

Unified Diff: content/renderer/pepper/pepper_media_stream_video_track_host.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/pepper/pepper_media_stream_video_track_host.h
diff --git a/content/renderer/pepper/pepper_media_stream_video_track_host.h b/content/renderer/pepper/pepper_media_stream_video_track_host.h
index 178eaefbd10502abbce50fd836f90db5610dc459..5d81abd4177aba93088908621e207a0eb78ef778 100644
--- a/content/renderer/pepper/pepper_media_stream_video_track_host.h
+++ b/content/renderer/pepper/pepper_media_stream_video_track_host.h
@@ -85,7 +85,9 @@ class PepperMediaStreamVideoTrackHost : public PepperMediaStreamTrackHostBase,
const ppapi::MediaStreamVideoTrackShared::Attributes& attributes);
void InitBlinkTrack();
- void OnTrackStarted(MediaStreamSource* source, bool success);
+ void OnTrackStarted(MediaStreamSource* source,
+ content::MediaStreamRequestResult result,
yzshen1 2014/07/25 17:48:49 content:: is not needed.
+ const blink::WebString& result_name = blink::WebString());
yzshen1 2014/07/25 17:48:49 Do you really need this default value? In general
jiajia.qin 2014/07/28 05:10:20 In the spec, it says if it is the ConstraintNotSat
yzshen1 2014/07/28 17:37:18 Could we pass an empty string in the cases that we
blink::WebMediaStreamTrack track_;

Powered by Google App Engine
This is Rietveld 408576698