Refactored to provide a new PortAllocatorFactory per PeerConnection.
commit275cc06144eeb80f766bb62aac14fc4d3a85a01e
authorperkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Sep 2012 17:20:40 +0000 (27 17:20 +0000)
committerperkj@chromium.org <perkj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Sep 2012 17:20:40 +0000 (27 17:20 +0000)
tree08e660f64cac642563e836834eaba6e02ef2961f
parent7e18fe1ea62bff56e9c8e6cac9c57a17170d4020
Refactored to provide a new PortAllocatorFactory per PeerConnection.
This refactor MediaStreamDependencyFactory to create one PortAllocatorFactory per created PeerConnection. The reason is that the PortAllocator need a valid WebFrame that belongs to the
webpage that creates the PeerConnection. The valid WebFrame will be provided in a later cl from WebKit.

Roles libjingle to revision 195.

BUG=148366,150755
TEST= existing unit tests and  https://apprtc.appspot.com/?r= between two tabs.

Review URL: https://chromiumcodereview.appspot.com/10977035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159056 0039d316-1c4b-4281-b951-d872f2087c98
DEPS
content/renderer/media/media_stream_dependency_factory.cc
content/renderer/media/media_stream_dependency_factory.h
content/renderer/media/mock_media_stream_dependency_factory.cc
content/renderer/media/mock_media_stream_dependency_factory.h
content/renderer/media/rtc_peer_connection_handler.cc
content/renderer/media/rtc_peer_connection_handler.h
content/renderer/media/rtc_peer_connection_handler_unittest.cc