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

Issue 10538091: [Chromoting] Make ChromotingHost's dependency on libjingle injected, instead of hard-coded. (Closed)

Created:
8 years, 6 months ago by simonmorris
Modified:
8 years, 6 months ago
Reviewers:
Sergey Ulanov, 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

[Chromoting] Make ChromotingHost's dependency on libjingle injected, instead of hard-coded. This will help improve ChromotingHost's unit tests. BUG=86546 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=142473

Patch Set 1 #

Total comments: 36

Patch Set 2 : Review. #

Patch Set 3 : Patch for Windows build. #

Total comments: 1

Patch Set 4 : Remove SessionManagerFactory #

Patch Set 5 : Fix remoting.gyp. #

Total comments: 24

Patch Set 6 : Review. #

Total comments: 8

Patch Set 7 : Improve comments. #

Total comments: 2

Patch Set 8 : Tweak a comment. #

Patch Set 9 : Sync. #

Patch Set 10 : Patch for Windows. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -36 lines) Patch
M remoting/host/chromoting_host.h View 1 2 3 3 chunks +2 lines, -6 lines 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 4 5 3 chunks +3 lines, -23 lines 0 comments Download
M remoting/host/chromoting_host_unittest.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/plugin/host_script_object.cc View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -3 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
A remoting/host/session_manager_factory.h View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
A remoting/host/session_manager_factory.cc View 1 2 3 4 5 6 7 1 chunk +45 lines, -0 lines 0 comments Download
M remoting/host/simple_host_process.cc View 1 2 3 4 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.h View 1 2 3 4 5 6 7 8 9 3 chunks +35 lines, -0 lines 0 comments Download
M remoting/protocol/protocol_mock_objects.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
simonmorris
ptal
8 years, 6 months ago (2012-06-11 21:23:26 UTC) #1
Wez
Thanks for doing this - should be a big help to us implementing better test ...
8 years, 6 months ago (2012-06-11 22:17:06 UTC) #2
simonmorris
http://codereview.chromium.org/10538091/diff/1/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/10538091/diff/1/remoting/host/chromoting_host.cc#newcode70 remoting/host/chromoting_host.cc:70: session_manager_factory_(session_manager_factory.release()), On 2012/06/11 22:17:06, Wez wrote: > release() -> ...
8 years, 6 months ago (2012-06-11 23:08:58 UTC) #3
Sergey Ulanov
http://codereview.chromium.org/10538091/diff/1016/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/10538091/diff/1016/remoting/host/chromoting_host.cc#newcode66 remoting/host/chromoting_host.cc:66: scoped_ptr<SessionManagerFactory> session_manager_factory, Instead of passing the factory here can ...
8 years, 6 months ago (2012-06-11 23:43:37 UTC) #4
simonmorris
On 2012/06/11 23:43:37, sergeyu wrote: > http://codereview.chromium.org/10538091/diff/1016/remoting/host/chromoting_host.cc > File remoting/host/chromoting_host.cc (right): > > http://codereview.chromium.org/10538091/diff/1016/remoting/host/chromoting_host.cc#newcode66 > ...
8 years, 6 months ago (2012-06-12 00:10:34 UTC) #5
Sergey Ulanov
On 2012/06/12 00:10:34, simonmorris wrote: > On 2012/06/11 23:43:37, sergeyu wrote: > > > http://codereview.chromium.org/10538091/diff/1016/remoting/host/chromoting_host.cc ...
8 years, 6 months ago (2012-06-12 00:20:54 UTC) #6
simonmorris
On 2012/06/12 00:20:54, sergeyu wrote: > On 2012/06/12 00:10:34, simonmorris wrote: > > On 2012/06/11 ...
8 years, 6 months ago (2012-06-12 01:07:47 UTC) #7
simonmorris
ptal I've removed SessionManagerFactory, and stopped passing NetworkSettings to ChromotingHost. The other changes sergeyu@ suggested ...
8 years, 6 months ago (2012-06-12 17:18:40 UTC) #8
Wez
http://codereview.chromium.org/10538091/diff/1/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/10538091/diff/1/remoting/host/chromoting_host.cc#newcode101 remoting/host/chromoting_host.cc:101: network_settings_, context_->url_request_context_getter()).release()); On 2012/06/11 23:08:59, simonmorris wrote: > On ...
8 years, 6 months ago (2012-06-12 21:20:10 UTC) #9
Sergey Ulanov
looks mostly good to me. Just some nits. http://codereview.chromium.org/10538091/diff/14001/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/10538091/diff/14001/remoting/host/chromoting_host.cc#newcode98 remoting/host/chromoting_host.cc:98: session_manager_->Init(signal_strategy_, ...
8 years, 6 months ago (2012-06-13 01:57:19 UTC) #10
simonmorris
http://codereview.chromium.org/10538091/diff/1/remoting/host/chromoting_host.cc File remoting/host/chromoting_host.cc (right): http://codereview.chromium.org/10538091/diff/1/remoting/host/chromoting_host.cc#newcode101 remoting/host/chromoting_host.cc:101: network_settings_, context_->url_request_context_getter()).release()); On 2012/06/12 21:20:10, Wez wrote: > On ...
8 years, 6 months ago (2012-06-13 16:26:33 UTC) #11
simonmorris
On 2012/06/13 16:26:33, simonmorris wrote: > http://codereview.chromium.org/10538091/diff/1/remoting/host/chromoting_host.cc > File remoting/host/chromoting_host.cc (right): > > http://codereview.chromium.org/10538091/diff/1/remoting/host/chromoting_host.cc#newcode101 > ...
8 years, 6 months ago (2012-06-14 00:39:15 UTC) #12
Wez
LGTM, although having read back the comments in session_manager_factory.cc I've tried to suggest some more ...
8 years, 6 months ago (2012-06-14 01:00:58 UTC) #13
simonmorris
ping sergeyu@ http://codereview.chromium.org/10538091/diff/10020/remoting/host/session_manager_factory.cc File remoting/host/session_manager_factory.cc (right): http://codereview.chromium.org/10538091/diff/10020/remoting/host/session_manager_factory.cc#newcode19 remoting/host/session_manager_factory.cc:19: // Create a cricket::PortAllocator that uses Chrome's ...
8 years, 6 months ago (2012-06-14 01:24:02 UTC) #14
Sergey Ulanov
looking now On 2012/06/14 01:24:02, simonmorris wrote: > ping sergeyu@ > > http://codereview.chromium.org/10538091/diff/10020/remoting/host/session_manager_factory.cc > File ...
8 years, 6 months ago (2012-06-14 18:16:00 UTC) #15
Sergey Ulanov
lgtm http://codereview.chromium.org/10538091/diff/5019/remoting/host/session_manager_factory.cc File remoting/host/session_manager_factory.cc (right): http://codereview.chromium.org/10538091/diff/5019/remoting/host/session_manager_factory.cc#newcode25 remoting/host/session_manager_factory.cc:25: // HostPortAllocator allocated ports. nit: this comment is ...
8 years, 6 months ago (2012-06-14 18:24:30 UTC) #16
simonmorris
fyi http://codereview.chromium.org/10538091/diff/5019/remoting/host/session_manager_factory.cc File remoting/host/session_manager_factory.cc (right): http://codereview.chromium.org/10538091/diff/5019/remoting/host/session_manager_factory.cc#newcode25 remoting/host/session_manager_factory.cc:25: // HostPortAllocator allocated ports. On 2012/06/14 18:24:30, sergeyu ...
8 years, 6 months ago (2012-06-15 15:56:49 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10538091/21001
8 years, 6 months ago (2012-06-15 16:42:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10538091/18008
8 years, 6 months ago (2012-06-15 18:17:17 UTC) #19
commit-bot: I haz the power
Try job failure for 10538091-18008 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 6 months ago (2012-06-15 18:44:12 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonmorris@chromium.org/10538091/18008
8 years, 6 months ago (2012-06-15 18:52:00 UTC) #21
commit-bot: I haz the power
8 years, 6 months ago (2012-06-15 20:45:51 UTC) #22
Change committed as 142473

Powered by Google App Engine
This is Rietveld 408576698