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

Unified Diff: content/browser/renderer_host/media/video_capture_host_unittest.cc

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/video_capture_host_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_host_unittest.cc b/content/browser/renderer_host/media/video_capture_host_unittest.cc
index 58a07e6ebf178b610dd78483d1a0f1ab6167c0ab..1e99e6d0a5e910b7a8cf5388930e4d3e8916ec97 100644
--- a/content/browser/renderer_host/media/video_capture_host_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_host_unittest.cc
@@ -87,8 +87,10 @@ class MockMediaStreamRequester : public MediaStreamRequester {
const std::string& label,
const StreamDeviceInfoArray& audio_devices,
const StreamDeviceInfoArray& video_devices));
- MOCK_METHOD2(StreamGenerationFailed, void(int render_view_id,
- int page_request_id));
+ MOCK_METHOD3(StreamGenerationFailed,
+ void(int render_view_id,
+ int page_request_id,
+ content::MediaStreamRequestResult result));
MOCK_METHOD3(DeviceStopped, void(int render_view_id,
const std::string& label,
const StreamDeviceInfo& device));

Powered by Google App Engine
This is Rietveld 408576698