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

Unified Diff: content/browser/renderer_host/media/media_stream_requester.h

Issue 180633008: Add different error codes for getUserMedia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed comments Created 6 years, 9 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/browser/renderer_host/media/media_stream_requester.h
diff --git a/content/browser/renderer_host/media/media_stream_requester.h b/content/browser/renderer_host/media/media_stream_requester.h
index 146ef1a489ebc64cf4823332efc08ec669ce3d64..337effade97ddee0de682ef46acf252532f21395 100644
--- a/content/browser/renderer_host/media/media_stream_requester.h
+++ b/content/browser/renderer_host/media/media_stream_requester.h
@@ -24,8 +24,10 @@ class CONTENT_EXPORT MediaStreamRequester {
const StreamDeviceInfoArray& audio_devices,
const StreamDeviceInfoArray& video_devices) = 0;
// Called if GenerateStream failed.
- virtual void StreamGenerationFailed(int render_view_id,
- int page_request_id) = 0;
+ virtual void StreamGenerationFailed(
+ int render_view_id,
+ int page_request_id,
+ content::MediaStreamRequestResult result) = 0;
// Called if a device has been stopped by a user from UI or the device
// has become unavailable. |render_view_id| is the render view that requested
// the device and |label| is the label of the request|.

Powered by Google App Engine
This is Rietveld 408576698