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

Issue 2468523003: Pass the desktop session ID to the remoting network process. (Closed)

Created:
4 years, 1 month ago by Sam McNally
Modified:
4 years, 1 month ago
Reviewers:
dcheng, joedow
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass the desktop session ID to the remoting network process. Currently, the network process uses ProcessIdToSessionId to determine the desktop session ID of the remoting session. This can fail due to a lack of permissions, which can cause remote security key connections to be incorrectly rejected. With this CL, the daemon process, which already knows the session ID, sends it to the network process when a session is attached. BUG=604282 Committed: https://crrev.com/f9cd299a223bda159c2982a1957160f1baea7b13 Cr-Commit-Position: refs/heads/master@{#429416}

Patch Set 1 #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -57 lines) Patch
M remoting/host/chromoting_messages.h View 1 chunk +5 lines, -3 lines 0 comments Download
M remoting/host/daemon_process.h View 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/host/daemon_process_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/host/daemon_process_win.cc View 2 chunks +3 lines, -1 line 0 comments Download
M remoting/host/desktop_session_connector.h View 1 chunk +4 lines, -2 lines 0 comments Download
M remoting/host/desktop_session_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/desktop_session_proxy.cc View 3 chunks +4 lines, -8 lines 0 comments Download
M remoting/host/desktop_session_win.h View 1 chunk +4 lines, -0 lines 0 comments Download
M remoting/host/desktop_session_win.cc View 2 chunks +4 lines, -1 line 0 comments Download
M remoting/host/ipc_desktop_environment.h View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/host/ipc_desktop_environment.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M remoting/host/ipc_desktop_environment_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/security_key/fake_security_key_ipc_server.h View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/security_key/fake_security_key_ipc_server.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/security_key/security_key_auth_handler_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/security_key/security_key_ipc_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/security_key/security_key_ipc_server.h View 3 chunks +3 lines, -2 lines 0 comments Download
M remoting/host/security_key/security_key_ipc_server.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M remoting/host/security_key/security_key_ipc_server_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/host/security_key/security_key_ipc_server_impl.cc View 4 chunks +5 lines, -4 lines 0 comments Download
M remoting/host/security_key/security_key_ipc_server_unittest.cc View 6 chunks +15 lines, -17 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Sam McNally
On my testing setup I think this was causing problems both before and after my ...
4 years, 1 month ago (2016-11-01 06:37:07 UTC) #7
joedow
lgtm
4 years, 1 month ago (2016-11-02 15:59:51 UTC) #12
Sam McNally
+dcheng for remoting/host/chromoting_messages.h
4 years, 1 month ago (2016-11-02 20:29:45 UTC) #14
dcheng
The IPC change LGTM. It might be good to have a followup bug to figure ...
4 years, 1 month ago (2016-11-02 21:50:35 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2468523003/40001
4 years, 1 month ago (2016-11-02 22:05:52 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 1 month ago (2016-11-02 22:13:51 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 22:17:08 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f9cd299a223bda159c2982a1957160f1baea7b13
Cr-Commit-Position: refs/heads/master@{#429416}

Powered by Google App Engine
This is Rietveld 408576698