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

Unified Diff: content/browser/renderer_host/media/device_request_message_filter.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/device_request_message_filter.h
diff --git a/content/browser/renderer_host/media/device_request_message_filter.h b/content/browser/renderer_host/media/device_request_message_filter.h
index 2a95c8286abdab31c79a657bb1100738dac13912..3861f3d08b4177b7b9f239c498bee0d1202e1998 100644
--- a/content/browser/renderer_host/media/device_request_message_filter.h
+++ b/content/browser/renderer_host/media/device_request_message_filter.h
@@ -34,8 +34,10 @@ class CONTENT_EXPORT DeviceRequestMessageFilter : public BrowserMessageFilter,
int render_view_id, int page_request_id, const std::string& label,
const StreamDeviceInfoArray& audio_devices,
const StreamDeviceInfoArray& video_devices) OVERRIDE {}
- virtual void StreamGenerationFailed(int render_view_id,
- int page_request_id) OVERRIDE {}
+ virtual void StreamGenerationFailed(
+ int render_view_id,
+ int page_request_id,
+ content::MediaStreamRequestResult result) OVERRIDE {}
virtual void DeviceStopped(int render_view_id,
const std::string& label,
const StreamDeviceInfo& device) OVERRIDE {}

Powered by Google App Engine
This is Rietveld 408576698