diff options
author | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-09 16:01:34 +0000 |
---|---|---|
committer | wjia@chromium.org <wjia@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-09 16:01:34 +0000 |
commit | 0874f3cb7daa931fcf72396f73879695622a4225 (patch) | |
tree | 8762b5639ca5ae11f969d2d2396f0e44c7144ee2 /third_party | |
parent | ce2b28efbc93b747f0ae37ac672ae2d831e68214 (diff) | |
download | chromium_src-0874f3cb7daa931fcf72396f73879695622a4225.zip chromium_src-0874f3cb7daa931fcf72396f73879695622a4225.tar.gz chromium_src-0874f3cb7daa931fcf72396f73879695622a4225.tar.bz2 |
reland http://codereview.chromium.org/10830063/
refactor EnumerateDevices to make it a persistent request.
After the requester calls EnumerateDevices, it should expect new device list as initial response and whenever devices are changed.
A new method StopEnumerateDevices is also added to allow the request to stop device enumeration.
It also includes corresponding change in Pepper since EnumerateDevices contract is changed (http://codereview.chromium.org/10837064/).
This patch keeps current Pepper API, while using the new API of EnumerateDevices from MediaStreamDispatcher.
Pepper calls StopEnumerateDevices when it receives the first enumerated result.
A new Pepper API will be created in a separate patch to make EnumerateDevices persistent.
BUG=137799
Review URL: https://chromiumcodereview.appspot.com/10828230
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150803 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions