Move the SetCaptureFormat to the capture audio thread.

Before this CL, the thread model of our capture class is that they will be updated with the format in the main render thread by SetCaptureFormat() and getting the audio callback in the capture audio thread.
And this complicates our code since it is required that the audio format in the data callback in the capture audio thread has to be the same as the cached format we get from the main render thread.

This CL simplies the thread model by moving the SetCaptureFormat() to the capture audio thread, so the format change callback will be in the same thread as the data callback.


This CL fixed the problems of https://codereview.chromium.org/76293004/
(crash when the webrtcLocalSourceProvider has not been getting the format callback before the data callback)
https://codereview.chromium.org/59273005/
(WebRtcLocalAudioRenderer might get a SetCaptureFormat() after Start(), in such case we should start the sink_ in WebRtcLocalAudioRenderer to adapt to the new format)


BUG=320808
TEST=content_unittests

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236556 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 236556
Remove obsolete code in RecentlyClosedBridge.

BUG=308820
R=tedchoc@chromium.org

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

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