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

Unified Diff: content/browser/renderer_host/media/media_stream_manager.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/media_stream_manager.h
diff --git a/content/browser/renderer_host/media/media_stream_manager.h b/content/browser/renderer_host/media/media_stream_manager.h
index 84e80323a2b498514bd0ec2e2ffcf5b6ecdf0904..6ecd66cd3e1c498d96ff03b07d03a19abbc17027 100644
--- a/content/browser/renderer_host/media/media_stream_manager.h
+++ b/content/browser/renderer_host/media/media_stream_manager.h
@@ -221,7 +221,8 @@ class CONTENT_EXPORT MediaStreamManager
const StreamDeviceInfoArray& devices);
void HandleAccessRequestResponse(const std::string& label,
- const MediaStreamDevices& devices);
+ const MediaStreamDevices& devices,
+ content::MediaStreamRequestResult result);
void StopMediaStreamFromBrowser(const std::string& label);
void DoEnumerateDevices(const std::string& label);
@@ -284,7 +285,8 @@ class CONTENT_EXPORT MediaStreamManager
void FinalizeGenerateStream(const std::string& label,
DeviceRequest* request);
void FinalizeRequestFailed(const std::string& label,
- DeviceRequest* request);
+ DeviceRequest* request,
+ content::MediaStreamRequestResult result);
void FinalizeOpenDevice(const std::string& label,
DeviceRequest* request);
void FinalizeMediaAccessRequest(const std::string& label,

Powered by Google App Engine
This is Rietveld 408576698