MediaStream API: Updating Mock so the old API can be removed.

BUG=294145

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254984 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 254984
Fix inconsistent arg name of ServiceRuntime().

The name of an argument of ServiceRuntime() is different between
in the header and in the source. This CL fixes the inconsistency.

TEST=Built chrome.
BUG=n/a

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254985 0039d316-1c4b-4281-b951-d872f2087c98
Switch thread_local to use chromium's TLS implementation

This patch switch thread_local to use ThreadLocalStorage::Slot, so it get the
TLS slot from the chromium's TLS instead of OS's.

There is debate whether the Windows' TLS's destructor implementation is reliable
or not, if we are able to remove all the use of TLS destructor, only ThreadLocalStorage::Slot
needs to change, as thread_local doesn't use TLS destructor at all.

BUG=264406

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

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