Per navigation sticky media permissions.
commit084aa5bab493b6ef79d77ca7dde41b1cc2b5db59
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 5 May 2014 15:20:08 +0000 (5 15:20 +0000)
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 5 May 2014 15:20:08 +0000 (5 15:20 +0000)
tree2254eb09136d94cf7f4d99f7740c9cbec21b32df
parentb9b5dec211acf1a57156a14f477be218411626d2
Per navigation sticky media permissions.
This fixes an issue with getUserMedia where users have to repeatedly allow getUserMedia requests made by the same page.
The approach is to cache granted media access flags with the navigation entry.  The access is not granted to other instances of the same page and is not persisted.

BUG=269719,263333

Review URL: https://codereview.chromium.org/262763004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268187 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/media/chrome_media_stream_infobar_browsertest.cc
chrome/browser/media/media_stream_devices_controller.cc
content/public/common/media_stream_request.cc
content/public/common/media_stream_request.h