Block platform verification and file IO in the CDM adapter if the CDM configuration disallows access to them.

Based on the configured value of distinctiveIdentifier and persistentState, we compute permission bits and pass them through PPAPI to the CDM adapter. This enables us to enforce 'not-allowed' configs even when user permission has been granted.

BUG=487452

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

Cr-Commit-Position: refs/heads/master@{#319798}
28 files changed