Implement AllowDatabase, AllowFileSystem, AllowIndexedDB in SharedWorkerHost.

Same implementation as in worker_host/worker_process_host.cc.

BUG=327256

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256205 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 256205
Extend the sample rates that Pepper should support.

Chrome actually supports a wide range of sample rates for the capture audio. So Pepper should also do this.

Also, since getUserMedia soon has APM in chrome, that means Pepper will get post-processed data whose sample rate will be 16000 on Android and 32000 on Desktop. In the future it will be 48000. 

NOTRY=true

BUG=264611
TEST=browser_tests --gtest_filter="*PPAPINaClGLibcTest.*"

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256206 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 256206