From cd80cce773d53ffc379eb5c8d5afc48ea3e6eb36 Mon Sep 17 00:00:00 2001 From: "perkj@chromium.org" Date: Mon, 2 Dec 2013 15:19:19 +0000 Subject: This cl implement a salt that is being used for obfuscating device ids before a device id is sent to the render process. The purpose of the salt is to make sure that the device ids as seen by the render process are invalidated if cookies are cleared. BUG=269139 TEST= open http://src.chromium.org/chrome/trunk/src/chrome/test/data/webrtc/manual/peerconnection.html using http (not https) note the source ids in the Audio source and Video source dropdown. Restart chrome and notice that the source ids in the dropdown are unchanged. Clear the cookie cache and press the Refresh devices button and notice that the source ids have changed. Review URL: https://codereview.chromium.org/54863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238103 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/chrome_browser.gypi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/chrome_browser.gypi') diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 168c622..e1dbd6c 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -1075,6 +1075,8 @@ 'browser/media/encrypted_media_message_filter_android.h', 'browser/media/media_capture_devices_dispatcher.cc', 'browser/media/media_capture_devices_dispatcher.h', + 'browser/media/media_device_id_salt.cc', + 'browser/media/media_device_id_salt.h', 'browser/media/media_stream_capture_indicator.cc', 'browser/media/media_stream_capture_indicator.h', 'browser/media/media_stream_devices_controller.cc', -- cgit v1.1