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

Unified Diff: content/public/common/media_stream_request.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/public/common/media_stream_request.h
diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h
index 5a91fd10cccbac6c7d5f222dd241fccc6ee9decc..3b5a9184b9e6763df4acac19c5af6a3ea9e938af 100644
--- a/content/public/common/media_stream_request.h
+++ b/content/public/common/media_stream_request.h
@@ -75,7 +75,9 @@ enum MediaStreamRequestResult {
MEDIA_DEVICE_TAB_CAPTURE_FAILURE,
MEDIA_DEVICE_SCREEN_CAPTURE_FAILURE,
MEDIA_DEVICE_CAPTURE_FAILURE,
+ MEDIA_DEVICE_CONSTRAINT_NOT_SATISFIED,
no longer working on chromium 2014/07/25 19:27:35 curiously, could you please explain why MEDIA_DEVI
jiajia.qin 2014/07/28 05:10:20 I think it's the same meaning. The final error nam
no longer working on chromium 2014/07/28 19:55:07 OK, then keep using MEDIA_DEVICE_CONSTRAINT_NOT_SA
MEDIA_DEVICE_TRACK_START_FAILURE,
+ MEDIA_DEVICE_SOURCE_START_FAILURE,
NUM_MEDIA_REQUEST_RESULTS
};

Powered by Google App Engine
This is Rietveld 408576698