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

Unified Diff: content/browser/renderer_host/media/media_stream_dispatcher_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, 10 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_dispatcher_host_unittest.cc
diff --git a/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc b/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
index 4ebf35c6125b8e8dd8b3c0ff1b7ab121d6620fa5..5600278407be068663b4e9fab130d01efbd572b3 100644
--- a/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
+++ b/content/browser/renderer_host/media/media_stream_dispatcher_host_unittest.cc
@@ -148,7 +148,10 @@ class MockMediaStreamDispatcherHost : public MediaStreamDispatcherHost,
video_devices_ = video_device_list;
}
- void OnStreamGenerationFailed(const IPC::Message& msg, int request_id) {
+ void OnStreamGenerationFailed(
+ const IPC::Message& msg,
+ int request_id,
+ content::MediaStreamRequestResult result) {
OnStreamGenerationFailed(msg.routing_id(), request_id);
Tom Sepez 2014/03/06 18:36:26 nit: maybe pass |result| as well so it can be chec
Tommy Widenflycht 2014/03/07 11:50:05 Done.
if (!quit_closures_.empty()) {
base::Closure quit_closure = quit_closures_.front();

Powered by Google App Engine
This is Rietveld 408576698