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

Unified Diff: content/renderer/media/media_stream_dispatcher_eventhandler.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/renderer/media/media_stream_dispatcher_eventhandler.h
diff --git a/content/renderer/media/media_stream_dispatcher_eventhandler.h b/content/renderer/media/media_stream_dispatcher_eventhandler.h
index e83f29525600273e44b21b5990091f6f26cea559..f5595ac247c5657035f7ad8455c9bf415a55154e 100644
--- a/content/renderer/media/media_stream_dispatcher_eventhandler.h
+++ b/content/renderer/media/media_stream_dispatcher_eventhandler.h
@@ -23,7 +23,9 @@ class CONTENT_EXPORT MediaStreamDispatcherEventHandler {
// Creation of a new media stream failed. The user might have denied access
// to the requested devices or no device is available.
- virtual void OnStreamGenerationFailed(int request_id) = 0;
+ virtual void OnStreamGenerationFailed(
+ int request_id,
+ content::MediaStreamRequestResult result) = 0;
// A device has been stopped in the browser processes.
virtual void OnDeviceStopped(
« no previous file with comments | « content/renderer/media/media_stream_dispatcher.cc ('k') | content/renderer/media/media_stream_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698