Steve Anton ba818675b9 Prepare WebRtcSession to be merged into PeerConnection
This commit prepares WebRtcSession so that it can be cleanly
copy & pasted into PeerConnection in the next commit. To accomplish
this, the following was done:
1. Added a pointer to the owning PeerConnection to WebRtcSession.
2. Replace WebRtcSession state enum with signaling state.
3. All signals/observers only observed by PeerConnection were
   replaced with direct calls to PeerConnection methods.
4. All duplicated fields were moved to PeerConnection.
5. The remaining tests that still use WebRtcSession for mocks were
   updated to minimize dependence on WebRtcSession construction.

Bug: webrtc:8323
Change-Id: Ifc1a4ee819dcc9beca5363291012f7d5563ff7b1
Reviewed-on: https://webrtc-review.googlesource.com/9020
Commit-Queue: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Peter Thatcher <pthatcher@webrtc.org>
Reviewed-by: Zhi Huang <zhihuang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20573}
2017-11-06 21:11:19 +00:00
..
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00
2017-10-30 18:08:29 +00:00