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

Issue 12096071: Adding a unit test to verify the IPC channel between the network and desktop processes. (Closed)

Created:
7 years, 10 months ago by alexeypa (please no reviews)
Modified:
7 years, 10 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, dcaiafa+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, feature-media-reviews_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Adding a unit test to verify the IPC channel between the network and desktop processes. Related changes: - The fake screen capturer now uses shared buffers when they available. - DesktopSessionAgent frees the client end handle of the network-to-desktop pipe once the connection has been established. BUG=134694 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181221

Patch Set 1 #

Total comments: 22

Patch Set 2 : CR feedback. #

Total comments: 2

Patch Set 3 : rebased #

Patch Set 4 : The pipe handle may be not closed in some cases. #

Patch Set 5 : Fix posix #

Patch Set 6 : Fix posix #2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+493 lines, -70 lines) Patch
M media/video/capture/screen/screen_capturer_fake.h View 1 chunk +7 lines, -1 line 0 comments Download
M media/video/capture/screen/screen_capturer_fake.cc View 4 chunks +18 lines, -10 lines 0 comments Download
M remoting/host/chromoting_messages.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/daemon_process_win.cc View 1 2 2 chunks +12 lines, -6 lines 0 comments Download
M remoting/host/desktop_process_main.cc View 1 2 1 chunk +1 line, -5 lines 0 comments Download
M remoting/host/desktop_session_agent.h View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M remoting/host/desktop_session_agent.cc View 1 2 3 4 6 chunks +25 lines, -1 line 0 comments Download
M remoting/host/desktop_session_connector.h View 2 chunks +2 lines, -1 line 0 comments Download
M remoting/host/desktop_session_proxy.h View 6 chunks +7 lines, -8 lines 0 comments Download
M remoting/host/desktop_session_proxy.cc View 1 8 chunks +39 lines, -28 lines 0 comments Download
M remoting/host/ipc_desktop_environment.h View 4 chunks +6 lines, -1 line 0 comments Download
M remoting/host/ipc_desktop_environment.cc View 7 chunks +10 lines, -7 lines 0 comments Download
A remoting/host/ipc_desktop_environment_unittest.cc View 1 2 3 4 5 1 chunk +355 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M remoting/remoting.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
alexeypa (please no reviews)
PTAL: cdn@: remoting/host/chromoting_messages.h sergeyu@ the rest.
7 years, 10 months ago (2013-01-31 00:09:46 UTC) #1
alexeypa (please no reviews)
ping.
7 years, 10 months ago (2013-02-04 19:10:43 UTC) #2
Sergey Ulanov
https://chromiumcodereview.appspot.com/12096071/diff/1/remoting/host/daemon_process_win.cc File remoting/host/daemon_process_win.cc (right): https://chromiumcodereview.appspot.com/12096071/diff/1/remoting/host/daemon_process_win.cc#newcode114 remoting/host/daemon_process_win.cc:114: base::ProcessHandle desktop_process_for_transit = Why do you need this change? ...
7 years, 10 months ago (2013-02-04 21:04:41 UTC) #3
alexeypa (please no reviews)
PTAL https://chromiumcodereview.appspot.com/12096071/diff/1/remoting/host/daemon_process_win.cc File remoting/host/daemon_process_win.cc (right): https://chromiumcodereview.appspot.com/12096071/diff/1/remoting/host/daemon_process_win.cc#newcode114 remoting/host/daemon_process_win.cc:114: base::ProcessHandle desktop_process_for_transit = On 2013/02/04 21:04:41, sergeyu wrote: ...
7 years, 10 months ago (2013-02-04 23:45:58 UTC) #4
Cris Neckar
IPC security audit LGTM https://codereview.chromium.org/12096071/diff/7002/media/video/capture/screen/screen_capturer_fake.cc File media/video/capture/screen/screen_capturer_fake.cc (right): https://codereview.chromium.org/12096071/diff/7002/media/video/capture/screen/screen_capturer_fake.cc#newcode44 media/video/capture/screen/screen_capturer_fake.cc:44: int buffer_size = size_.height() * ...
7 years, 10 months ago (2013-02-06 19:31:24 UTC) #5
Sergey Ulanov
lgtm
7 years, 10 months ago (2013-02-06 19:36:59 UTC) #6
alexeypa (please no reviews)
FYI https://chromiumcodereview.appspot.com/12096071/diff/7002/media/video/capture/screen/screen_capturer_fake.cc File media/video/capture/screen/screen_capturer_fake.cc (right): https://chromiumcodereview.appspot.com/12096071/diff/7002/media/video/capture/screen/screen_capturer_fake.cc#newcode44 media/video/capture/screen/screen_capturer_fake.cc:44: int buffer_size = size_.height() * bytes_per_row_; On 2013/02/06 ...
7 years, 10 months ago (2013-02-06 22:58:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12096071/17003
7 years, 10 months ago (2013-02-06 23:25:55 UTC) #8
commit-bot: I haz the power
Failed to trigger a try job on linux_clang HTTP Error 400: Bad Request
7 years, 10 months ago (2013-02-06 23:58:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/alexeypa@chromium.org/12096071/21005
7 years, 10 months ago (2013-02-06 23:58:38 UTC) #10
commit-bot: I haz the power
Failed to trigger a try job on linux_chromeos HTTP Error 400: Bad Request
7 years, 10 months ago (2013-02-07 00:53:28 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/12096071/15013
7 years, 10 months ago (2013-02-07 00:55:17 UTC) #12
commit-bot: I haz the power
7 years, 10 months ago (2013-02-07 05:54:25 UTC) #13
Message was sent while issue was closed.
Change committed as 181221

Powered by Google App Engine
This is Rietveld 408576698