diff options
author | perkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 19:58:32 +0000 |
---|---|---|
committer | perkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-28 19:58:32 +0000 |
commit | 2abef7ea4d0b8f1470e87272d86c711b788414c5 (patch) | |
tree | 748d04c177d940fb0e2f931ea7b8e00c479c6813 /content/public/common/media_stream_request.h | |
parent | d0cb80a65e66bb30a2fe60dcb23c92deb74fa443 (diff) | |
download | chromium_src-2abef7ea4d0b8f1470e87272d86c711b788414c5.zip chromium_src-2abef7ea4d0b8f1470e87272d86c711b788414c5.tar.gz chromium_src-2abef7ea4d0b8f1470e87272d86c711b788414c5.tar.bz2 |
Reland review 34393006: Refactor MediaStreamManager to not output real device id.
https://src.chromium.org/viewvc/chrome?revision=232766&view=revision
Refactor MediaStreamManager to never output physical device ids. It now output sourceId in the form of a HMAC.
DeviceMessageFilter now don't need to create a source id.
This also fix a bug that made the source ids useless unless you have called gum once.
Note that the sourceIds are still just using the security origin as salt. Next step is to add a random number that is stored in the profile.
BUG= 269139,313192
Review URL: https://codereview.chromium.org/88283002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237825 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public/common/media_stream_request.h')
-rw-r--r-- | content/public/common/media_stream_request.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/content/public/common/media_stream_request.h b/content/public/common/media_stream_request.h index 10041f0..e6870e1 100644 --- a/content/public/common/media_stream_request.h +++ b/content/public/common/media_stream_request.h @@ -26,9 +26,6 @@ enum MediaStreamType { MEDIA_DEVICE_VIDEO_CAPTURE, // Mirroring of a browser tab. - // - // TODO(serygeu): Remove these values and use MEDIA_DESKTOP_VIDEO_CAPTURE and - // MEDIA_DESKTOP_AUDIO_CAPTURE. MEDIA_TAB_AUDIO_CAPTURE, MEDIA_TAB_VIDEO_CAPTURE, @@ -166,7 +163,6 @@ struct CONTENT_EXPORT MediaStreamRequest { int render_process_id, int render_view_id, int page_request_id, - const std::string& tab_capture_device_id, const GURL& security_origin, MediaStreamRequestType request_type, const std::string& requested_audio_device_id, |