Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Issue 1397973002: Merging BaseSession code into WebRtcSession. (Closed)

Created:
5 years, 2 months ago by Taylor Brandstetter
Modified:
5 years, 2 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Merging BaseSession code into WebRtcSession. After the TransportController CL, BaseSession does little more than hold a state and an error, and act as an intermediary for the TransportController. So it doesn't make sense for it to be its own class. Committed: https://crrev.com/d59daf8023286d63a1b6c8af82eedb684181c1eb Cr-Commit-Position: refs/heads/master@{#10281}

Patch Set 1 #

Patch Set 2 : Removing obsolete unit test. #

Total comments: 14

Patch Set 3 : Cleaning up WebRtcSession states, and getting rid of "saved candidates" #

Total comments: 10

Patch Set 4 : Terminate -> Close #

Patch Set 5 : Merging with master (MediaStreamSignaling removal affected WebRtcSession). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+478 lines, -784 lines) Patch
M talk/app/webrtc/peerconnection.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M talk/app/webrtc/peerconnection.cc View 1 2 3 4 1 chunk +10 lines, -11 lines 0 comments Download
M talk/app/webrtc/statscollector.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M talk/app/webrtc/statscollector.cc View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download
M talk/app/webrtc/statscollector_unittest.cc View 1 2 3 4 5 chunks +5 lines, -5 lines 0 comments Download
M talk/app/webrtc/webrtcsession.h View 1 2 3 4 11 chunks +111 lines, -29 lines 0 comments Download
M talk/app/webrtc/webrtcsession.cc View 1 2 3 4 44 chunks +262 lines, -191 lines 0 comments Download
M talk/app/webrtc/webrtcsession_unittest.cc View 1 2 3 4 15 chunks +52 lines, -62 lines 0 comments Download
M talk/app/webrtc/webrtcsessiondescriptionfactory.cc View 1 2 3 4 2 chunks +10 lines, -7 lines 0 comments Download
M talk/session/media/channelmanager.h View 1 chunk +0 lines, -1 line 0 comments Download
M talk/session/media/currentspeakermonitor.h View 5 chunks +6 lines, -14 lines 0 comments Download
M talk/session/media/currentspeakermonitor.cc View 3 chunks +8 lines, -10 lines 0 comments Download
M talk/session/media/currentspeakermonitor_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/p2p/base/session.h View 1 chunk +3 lines, -192 lines 0 comments Download
M webrtc/p2p/base/session.cc View 1 chunk +2 lines, -251 lines 0 comments Download
M webrtc/p2p/p2p.gyp View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Taylor Brandstetter
Besides fixing a bug (see below) and removing the extra copies of the local and ...
5 years, 2 months ago (2015-10-09 02:48:50 UTC) #2
pthatcher1
This is great. I can't wait to see it combined with the elimination of MediaStreamSignalling. ...
5 years, 2 months ago (2015-10-09 03:28:57 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1397973002/diff/20001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1397973002/diff/20001/talk/app/webrtc/webrtcsession.cc#newcode1015 talk/app/webrtc/webrtcsession.cc:1015: signaling_thread_->Post(this, MSG_STATE); On 2015/10/09 03:28:57, pthatcher1 wrote: > The ...
5 years, 2 months ago (2015-10-09 23:02:07 UTC) #4
pthatcher1
It looks good, except that I'd like to double-check with Justin and Harald that we're ...
5 years, 2 months ago (2015-10-10 00:07:27 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/1397973002/diff/40001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1397973002/diff/40001/talk/app/webrtc/peerconnection.cc#newcode810 talk/app/webrtc/peerconnection.cc:810: case WebRtcSession::STATE_TERMINATED: On 2015/10/10 00:07:26, pthatcher1 wrote: > STATE_CLOSED? ...
5 years, 2 months ago (2015-10-10 00:30:16 UTC) #6
pthatcher1
lgtm https://codereview.webrtc.org/1397973002/diff/40001/talk/app/webrtc/webrtcsession.cc File talk/app/webrtc/webrtcsession.cc (right): https://codereview.webrtc.org/1397973002/diff/40001/talk/app/webrtc/webrtcsession.cc#newcode1777 talk/app/webrtc/webrtcsession.cc:1777: const IceCandidateInterface* candidate) { On 2015/10/10 00:30:15, Taylor ...
5 years, 2 months ago (2015-10-10 01:59:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397973002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397973002/80001
5 years, 2 months ago (2015-10-14 21:42:50 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-14 22:02:48 UTC) #11
commit-bot: I haz the power
5 years, 2 months ago (2015-10-14 22:02:56 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d59daf8023286d63a1b6c8af82eedb684181c1eb
Cr-Commit-Position: refs/heads/master@{#10281}

Powered by Google App Engine
This is Rietveld 408576698