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

Unified Diff: content/renderer/media/user_media_client_impl.h

Issue 1075833002: Delay completion of getUserMedia in UserMediaClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | content/renderer/media/user_media_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/user_media_client_impl.h
diff --git a/content/renderer/media/user_media_client_impl.h b/content/renderer/media/user_media_client_impl.h
index a9bd398b01444228305d6bd036dc0577db637feb..78f19e498d541bd5834edd8310b954ee8fcdc82c 100644
--- a/content/renderer/media/user_media_client_impl.h
+++ b/content/renderer/media/user_media_client_impl.h
@@ -96,11 +96,19 @@ class CONTENT_EXPORT UserMediaClientImpl
// |request| have completed.
virtual void GetUserMediaRequestSucceeded(
const blink::WebMediaStream& stream,
- blink::WebUserMediaRequest* request_info);
+ blink::WebUserMediaRequest request_info);
+ void DelayedGetUserMediaRequestSucceeded(
+ const blink::WebMediaStream& stream,
+ blink::WebUserMediaRequest request_info);
virtual void GetUserMediaRequestFailed(
- blink::WebUserMediaRequest* request_info,
+ blink::WebUserMediaRequest request_info,
MediaStreamRequestResult result,
const blink::WebString& result_name);
+ void DelayedGetUserMediaRequestFailed(
+ blink::WebUserMediaRequest request_info,
+ MediaStreamRequestResult result,
+ const blink::WebString& result_name);
+
virtual void EnumerateDevicesSucceded(
blink::WebMediaDevicesRequest* request,
blink::WebVector<blink::WebMediaDeviceInfo>& devices);
« no previous file with comments | « no previous file | content/renderer/media/user_media_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698