Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(835)

Issue 1689363002: ipc: split the process of creating unix domain socket into a separate function (Closed)

Created:
4 years, 10 months ago by tfarina
Modified:
4 years, 10 months ago
Reviewers:
agl
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ipc: split the process of creating unix domain socket into a separate function For clarity this patch separates the process of filing sockaddr_un (doing it first and only) in MakeUnixAddrForPath() from the process of creating and making the unix domain socket non-blocking in another function (only after MakeUnixAddrForPath()), called CreateUnixDomainSocket(). Because it is really weird and confusing that MakeUnixAddrForPath() returns an non-scoped fd in case of success. BUG=None TEST=ipc_tests [email protected] Committed: https://crrev.com/8749855f3f416be125598dfd7be0ecf55ff217e6 Cr-Commit-Position: refs/heads/master@{#376666}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -21 lines) Patch
M ipc/unix_domain_socket_util.cc View 3 chunks +28 lines, -21 lines 1 comment Download

Messages

Total messages: 9 (4 generated)
tfarina
Hi Adam, could you review this to me? Thanks! https://codereview.chromium.org/1689363002/diff/1/ipc/unix_domain_socket_util.cc File ipc/unix_domain_socket_util.cc (right): https://codereview.chromium.org/1689363002/diff/1/ipc/unix_domain_socket_util.cc#newcode30 ipc/unix_domain_socket_util.cc:30: ...
4 years, 10 months ago (2016-02-12 01:19:01 UTC) #1
agl
lgtm
4 years, 10 months ago (2016-02-21 15:14:30 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689363002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689363002/1
4 years, 10 months ago (2016-02-21 18:39:37 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-21 19:52:51 UTC) #7
commit-bot: I haz the power
4 years, 10 months ago (2016-02-21 19:53:44 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8749855f3f416be125598dfd7be0ecf55ff217e6
Cr-Commit-Position: refs/heads/master@{#376666}

Powered by Google App Engine
This is Rietveld 408576698