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

Issue 11231060: [Chromoting] The desktop process now creates a pre-connected pipe and passes (with some help of the… (Closed)

Created:
8 years, 2 months ago by alexeypa (please no reviews)
Modified:
8 years, 1 month ago
Reviewers:
Sergey Ulanov
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

[Chromoting] The desktop process now creates a pre-connected pipe and passes (with some help of the daemon) its client-end handle to the network process. The network process will request screen/audio capturing and input injection services using the created channel. Accompanying changes: - The daemon can request other processes to crash in response to critical protocol errors. - Both network and desktop processes exit if the connection to the daemon has been disconnected. - CreateConnectedIpcChannel() function moved to remoting/host/win/launch_process_with_token.h - IPC::Channel::GenerateUniqueRandomChannelID() is used to generate a unique channel name. - Added unit tests for DesktopProcess. - Made 'remote_desktop' compilable on all platforms. BUG=134694 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164006

Patch Set 1 #

Patch Set 2 : Added a unit test for DesktopProcess (all platforms). #

Patch Set 3 : Fixup #

Total comments: 38

Patch Set 4 : CR feedback. #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1155 lines, -397 lines) Patch
M remoting/host/chromoting_messages.h View 3 chunks +38 lines, -0 lines 0 comments Download
M remoting/host/daemon_process.h View 1 2 3 4 5 chunks +20 lines, -12 lines 0 comments Download
M remoting/host/daemon_process.cc View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M remoting/host/daemon_process_unittest.cc View 1 2 3 4 chunks +9 lines, -5 lines 0 comments Download
M remoting/host/daemon_process_win.cc View 1 2 3 4 6 chunks +48 lines, -8 lines 0 comments Download
M remoting/host/desktop_process.h View 1 2 3 2 chunks +16 lines, -3 lines 0 comments Download
M remoting/host/desktop_process.cc View 1 2 3 2 chunks +47 lines, -117 lines 0 comments Download
A + remoting/host/desktop_process_main.cc View 1 2 3 4 chunks +12 lines, -72 lines 0 comments Download
A remoting/host/desktop_process_unittest.cc View 1 1 chunk +231 lines, -0 lines 0 comments Download
M remoting/host/desktop_session.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A remoting/host/desktop_session_agent.h View 1 2 3 1 chunk +84 lines, -0 lines 0 comments Download
A remoting/host/desktop_session_agent.cc View 1 2 3 1 chunk +61 lines, -0 lines 0 comments Download
A remoting/host/desktop_session_agent_posix.cc View 1 2 3 1 chunk +93 lines, -0 lines 0 comments Download
A remoting/host/desktop_session_agent_win.cc View 1 2 3 1 chunk +90 lines, -0 lines 0 comments Download
M remoting/host/desktop_session_connector.h View 2 chunks +10 lines, -0 lines 0 comments Download
M remoting/host/desktop_session_win.h View 1 2 3 3 chunks +19 lines, -7 lines 0 comments Download
M remoting/host/desktop_session_win.cc View 1 2 3 4 chunks +42 lines, -6 lines 0 comments Download
M remoting/host/ipc_desktop_environment.h View 4 chunks +26 lines, -1 line 0 comments Download
M remoting/host/ipc_desktop_environment.cc View 3 chunks +72 lines, -0 lines 0 comments Download
M remoting/host/ipc_desktop_environment_factory.h View 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/host/ipc_desktop_environment_factory.cc View 4 chunks +30 lines, -3 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 7 chunks +30 lines, -10 lines 0 comments Download
M remoting/host/win/host_service.h View 1 2 3 2 chunks +1 line, -6 lines 0 comments Download
M remoting/host/win/host_service.cc View 1 2 3 2 chunks +1 line, -2 lines 0 comments Download
M remoting/host/win/launch_process_with_token.h View 1 2 3 2 chunks +22 lines, -3 lines 0 comments Download
M remoting/host/win/launch_process_with_token.cc View 1 3 chunks +53 lines, -9 lines 0 comments Download
M remoting/host/win/unprivileged_process_delegate.cc View 1 3 chunks +5 lines, -60 lines 0 comments Download
M remoting/host/win/worker_process_launcher.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/win/worker_process_launcher_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/win/wts_session_process_delegate.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M remoting/remoting.gyp View 1 2 3 4 14 chunks +81 lines, -68 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
alexeypa (please no reviews)
PTAL.
8 years, 2 months ago (2012-10-22 22:33:57 UTC) #1
alexeypa (please no reviews)
I added unit tests and made 'remote_desktop' target compilable on all platforms. This way the ...
8 years, 2 months ago (2012-10-23 19:38:01 UTC) #2
Sergey Ulanov
http://codereview.chromium.org/11231060/diff/5006/remoting/host/daemon_process.h File remoting/host/daemon_process.h (right): http://codereview.chromium.org/11231060/diff/5006/remoting/host/daemon_process.h#newcode71 remoting/host/daemon_process.h:71: virtual bool OnDesktopSessionAgentAttached( Does this method need to be ...
8 years, 1 month ago (2012-10-24 20:12:01 UTC) #3
alexeypa (please no reviews)
FYI http://codereview.chromium.org/11231060/diff/5006/remoting/host/daemon_process.h File remoting/host/daemon_process.h (right): http://codereview.chromium.org/11231060/diff/5006/remoting/host/daemon_process.h#newcode71 remoting/host/daemon_process.h:71: virtual bool OnDesktopSessionAgentAttached( On 2012/10/24 20:12:01, sergeyu wrote: ...
8 years, 1 month ago (2012-10-24 21:41:50 UTC) #4
Sergey Ulanov
lgtm http://codereview.chromium.org/11231060/diff/5006/remoting/remoting.gyp File remoting/remoting.gyp (right): http://codereview.chromium.org/11231060/diff/5006/remoting/remoting.gyp#newcode981 remoting/remoting.gyp:981: 'target_name': 'remoting_desktop', On 2012/10/24 21:41:51, alexeypa wrote: > ...
8 years, 1 month ago (2012-10-24 23:46:27 UTC) #5
alexeypa (please no reviews)
http://codereview.chromium.org/11231060/diff/5006/remoting/remoting.gyp File remoting/remoting.gyp (right): http://codereview.chromium.org/11231060/diff/5006/remoting/remoting.gyp#newcode981 remoting/remoting.gyp:981: 'target_name': 'remoting_desktop', On 2012/10/24 23:46:28, sergeyu wrote: > Ok, ...
8 years, 1 month ago (2012-10-24 23:58:19 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/11231060/16007
8 years, 1 month ago (2012-10-25 00:35:43 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-10-25 03:25:44 UTC) #8
Change committed as 164006

Powered by Google App Engine
This is Rietveld 408576698