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

Issue 14520018: Create the desktop environment before any of the channel were connected. (Closed)

Created:
7 years, 8 months ago by alexeypa (please no reviews)
Modified:
7 years, 7 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, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Create the desktop environment before any of the channel were connected. ClientSession now creates the desktop environment and the corresponding video scheduler, event executor, etc. before any of the channel were created but after the connection has been authenticated and allowed by the host. This arrangement has two benefits: - Messages arriving before all channels are ready could be successfully processed instead of being ignored. - Desktop session can be created in parallel with channel creation reducing the overall connection time. This CL also splits initialization of the audio and video schedulers in two phases. The schedulers created and prepared to handle incoming messages once the connection has been authenticated. Then, ClientSession starts them (so they can start sending messages to the client) once all channels have been set up. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=197689

Patch Set 1 #

Total comments: 6

Patch Set 2 : CR feedback. #

Patch Set 3 : - #

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -140 lines) Patch
M remoting/host/audio_scheduler.h View 2 chunks +4 lines, -8 lines 0 comments Download
M remoting/host/audio_scheduler.cc View 2 chunks +20 lines, -30 lines 0 comments Download
M remoting/host/chromoting_host.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/chromoting_host.cc View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M remoting/host/client_session.h View 1 chunk +3 lines, -2 lines 0 comments Download
M remoting/host/client_session.cc View 1 2 3 5 chunks +44 lines, -40 lines 0 comments Download
M remoting/host/client_session_unittest.cc View 1 2 3 5 chunks +10 lines, -5 lines 0 comments Download
M remoting/host/host_mock_objects.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/video_scheduler.h View 3 chunks +4 lines, -10 lines 0 comments Download
M remoting/host/video_scheduler.cc View 5 chunks +27 lines, -38 lines 0 comments Download
M remoting/host/video_scheduler_unittest.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
alexeypa (please no reviews)
PTAL.
7 years, 8 months ago (2013-04-26 22:39:41 UTC) #1
alexeypa (please no reviews)
Ping.
7 years, 7 months ago (2013-04-29 23:02:51 UTC) #2
Wez
On 2013/04/29 23:02:51, alexeypa wrote: > Ping. /me drives by. We specifically want to avoid ...
7 years, 7 months ago (2013-04-30 13:33:18 UTC) #3
Wez
Wouldn't it be better to split out channel-connected notifications to be per-channel, and initialize the ...
7 years, 7 months ago (2013-04-30 13:48:39 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/14520018/diff/1/remoting/host/client_session.cc File remoting/host/client_session.cc (right): https://codereview.chromium.org/14520018/diff/1/remoting/host/client_session.cc#newcode256 remoting/host/client_session.cc:256: DCHECK(video_scheduler_); nit: Many of these dchecks are not necessary ...
7 years, 7 months ago (2013-04-30 17:19:26 UTC) #5
Sergey Ulanov
On 2013/04/30 13:48:39, Wez wrote: > Wouldn't it be better to split out channel-connected notifications ...
7 years, 7 months ago (2013-04-30 17:42:32 UTC) #6
alexeypa (please no reviews)
> > OTOH, if we're worried that stubs might take a long time to start ...
7 years, 7 months ago (2013-04-30 17:55:32 UTC) #7
alexeypa (please no reviews)
PTAL. PS. I had to upload the same patchset twice for some reason. Look at ...
7 years, 7 months ago (2013-04-30 18:16:20 UTC) #8
Sergey Ulanov
On 2013/04/30 17:55:32, alexeypa wrote: > > Better solution would be to push this logic ...
7 years, 7 months ago (2013-04-30 18:53:17 UTC) #9
alexeypa (please no reviews)
On 2013/04/30 18:53:17, Sergey Ulanov wrote: > I don't see any way it could impact ...
7 years, 7 months ago (2013-04-30 19:07:07 UTC) #10
Sergey Ulanov
On 2013/04/30 19:07:07, alexeypa wrote: > On 2013/04/30 18:53:17, Sergey Ulanov wrote: > > I ...
7 years, 7 months ago (2013-04-30 23:59:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/14520018/7025
7 years, 7 months ago (2013-05-01 15:54:34 UTC) #12
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-01 16:25:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/14520018/7025
7 years, 7 months ago (2013-05-01 16:32:45 UTC) #14
commit-bot: I haz the power
7 years, 7 months ago (2013-05-01 19:30:26 UTC) #15
Message was sent while issue was closed.
Change committed as 197689

Powered by Google App Engine
This is Rietveld 408576698