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

Issue 10233021: Move PortAllocator creation out of LibjingleTransportFactory. (Closed)

Created:
8 years, 8 months ago by Sergey Ulanov
Modified:
8 years, 7 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, simonmorris+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Move PortAllocator creation out of LibjingleTransportFactory. Host will have host-specific port allocator, so PortAllocator creation has to be moved out of protocol code. Since PortAllocator needs to be configured with network settings (nat traversal and port range), I refactored how these settings are passed between layers. BUG=103991 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134608

Patch Set 1 #

Patch Set 2 : #

Total comments: 20

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : - #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -170 lines) Patch
M remoting/host/chromoting_host.h View 3 chunks +45 lines, -2 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 3 chunks +45 lines, -6 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/simple_host_process.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M remoting/protocol/connection_to_host.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/protocol/jingle_session_manager.h View 1 2 3 2 chunks +10 lines, -3 lines 0 comments Download
M remoting/protocol/jingle_session_manager.cc View 1 2 3 3 chunks +6 lines, -10 lines 0 comments Download
M remoting/protocol/jingle_session_unittest.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M remoting/protocol/libjingle_transport_factory.h View 3 chunks +15 lines, -0 lines 0 comments Download
M remoting/protocol/libjingle_transport_factory.cc View 1 2 3 4 10 chunks +30 lines, -48 lines 0 comments Download
M remoting/protocol/pepper_transport_factory.cc View 1 chunk +28 lines, -30 lines 0 comments Download
M remoting/protocol/session_manager.h View 2 chunks +1 line, -32 lines 0 comments Download
M remoting/protocol/transport_config.h View 1 chunk +0 lines, -20 lines 0 comments Download
M remoting/protocol/transport_config.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Sergey Ulanov
8 years, 8 months ago (2012-04-26 20:08:38 UTC) #1
Wez
http://codereview.chromium.org/10233021/diff/3001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/10233021/diff/3001/remoting/host/chromoting_host.cc#newcode113 remoting/host/chromoting_host.cc:113: // when it is used together with TCP the ...
8 years, 8 months ago (2012-04-27 17:58:49 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/10233021/diff/3001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/10233021/diff/3001/remoting/host/chromoting_host.cc#newcode113 remoting/host/chromoting_host.cc:113: // when it is used together with TCP the ...
8 years, 8 months ago (2012-04-27 22:51:14 UTC) #3
Wez
lgtm
8 years, 7 months ago (2012-04-30 20:47:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyu@chromium.org/10233021/11002
8 years, 7 months ago (2012-04-30 20:56:25 UTC) #5
commit-bot: I haz the power
8 years, 7 months ago (2012-04-30 21:08:50 UTC) #6
Try job failure for 10233021-11002 on win_rel for step "update".
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&nu...

Step "update" is always a major failure.
Look at the try server FAQ for more details.

Powered by Google App Engine
This is Rietveld 408576698