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

Issue 2161013003: Changing the default path for RemoteSecurityKeyIpcServer test channels (Closed)

Created:
4 years, 5 months ago by joedow
Modified:
4 years, 5 months ago
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@rename
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changing the default path for RemoteSecurityKeyIpcServer test channels The following change moved the location of our IPC test channels to the home directory which is why we were seeing left-over crud there when the tests were cancelled: Change 4e752e108394090a1d83f9054a862ffa60293346 https://codereview.chromium.org/2003753002 My change moves the location from the home directory, which can cause problems for local development to the temp directory which should work for both local devs and trybots. I've also included other posix based OSes in this change since their IPC channels use UDS as well (Windows should not be changed since it still uses named pipes). BUG=621995 Committed: https://crrev.com/efeac5ea44139d44a279a2ad6b5dae9c66543bc4 Cr-Commit-Position: refs/heads/master@{#406759}

Patch Set 1 #

Patch Set 2 : Removing a file that was accidentally included. #

Total comments: 9

Patch Set 3 : Addressing feedback #

Total comments: 2

Patch Set 4 : Fixing some header includes and comments #

Patch Set 5 : Merging with ToT #

Patch Set 6 : Fixing a potential problem where the socket name is longer than 104 chars #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -11 lines) Patch
M remoting/host/security_key/security_key_ipc_client_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/security_key/security_key_ipc_constants.cc View 1 2 3 4 5 3 chunks +18 lines, -10 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 34 (22 generated)
joedow
PTAL! sergeyu@ for the remoting change, thestig@ for base change. Thanks! Joe
4 years, 5 months ago (2016-07-19 21:57:54 UTC) #4
Sergey Ulanov
https://codereview.chromium.org/2161013003/diff/20001/base/environment.h File base/environment.h (right): https://codereview.chromium.org/2161013003/diff/20001/base/environment.h#newcode23 base/environment.h:23: BASE_EXPORT extern const char kTempDir[]; Does this need to ...
4 years, 5 months ago (2016-07-19 22:00:52 UTC) #5
Lei Zhang
Changes to base/environment.* make my spider senses tangle. https://codereview.chromium.org/2161013003/diff/20001/remoting/host/security_key/security_key_ipc_constants.cc File remoting/host/security_key/security_key_ipc_constants.cc (right): https://codereview.chromium.org/2161013003/diff/20001/remoting/host/security_key/security_key_ipc_constants.cc#newcode20 remoting/host/security_key/security_key_ipc_constants.cc:20: extern ...
4 years, 5 months ago (2016-07-19 22:07:31 UTC) #6
Sergey Ulanov
https://codereview.chromium.org/2161013003/diff/20001/remoting/host/security_key/security_key_ipc_constants.cc File remoting/host/security_key/security_key_ipc_constants.cc (right): https://codereview.chromium.org/2161013003/diff/20001/remoting/host/security_key/security_key_ipc_constants.cc#newcode39 remoting/host/security_key/security_key_ipc_constants.cc:39: if (env->GetVar(base::env_vars::kTempDir, &path_prefix)) Looks like we have base::GetTempDir() in ...
4 years, 5 months ago (2016-07-19 22:34:58 UTC) #9
Lei Zhang
Since base/ is no longer modified, I'll just leave a comment and be on my ...
4 years, 5 months ago (2016-07-19 22:55:04 UTC) #12
joedow
Addressed feedback, PTAL! https://codereview.chromium.org/2161013003/diff/20001/base/environment.h File base/environment.h (right): https://codereview.chromium.org/2161013003/diff/20001/base/environment.h#newcode23 base/environment.h:23: BASE_EXPORT extern const char kTempDir[]; On ...
4 years, 5 months ago (2016-07-19 23:04:12 UTC) #15
Lei Zhang
https://codereview.chromium.org/2161013003/diff/20001/base/environment.h File base/environment.h (right): https://codereview.chromium.org/2161013003/diff/20001/base/environment.h#newcode23 base/environment.h:23: BASE_EXPORT extern const char kTempDir[]; On 2016/07/19 23:04:12, joedow ...
4 years, 5 months ago (2016-07-19 23:09:31 UTC) #16
Sergey Ulanov
lgtm
4 years, 5 months ago (2016-07-20 18:42:14 UTC) #19
joedow
Thanks for all the feedback!
4 years, 5 months ago (2016-07-21 03:32:02 UTC) #28
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/2161013003/100001
4 years, 5 months ago (2016-07-21 03:32:43 UTC) #31
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 5 months ago (2016-07-21 03:37:06 UTC) #32
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 03:39:37 UTC) #34
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/efeac5ea44139d44a279a2ad6b5dae9c66543bc4
Cr-Commit-Position: refs/heads/master@{#406759}

Powered by Google App Engine
This is Rietveld 408576698