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

Issue 2779033002: Move CreateSocketPair to header file (Closed)

Created:
3 years, 8 months ago by shunhsingou
Modified:
3 years, 8 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move CreateSocketPair to header file Move function CreateSocketPair from base/posix/unix_domain_socket_linux.cc to base/posix/unix_domain_socket_linux.h so it can be shared. Review-Url: https://codereview.chromium.org/2779033002 Cr-Commit-Position: refs/heads/master@{#462350} Committed: https://chromium.googlesource.com/chromium/src/+/6a52479520c587fc61eb3106f27ac6bd396fa736

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add BASE_EXPORT #

Total comments: 2

Patch Set 3 : Remove redundant comment #

Messages

Total messages: 14 (5 generated)
shunhsingou
3 years, 8 months ago (2017-04-05 03:34:43 UTC) #2
mdempsky
https://codereview.chromium.org/2779033002/diff/1/base/posix/unix_domain_socket_linux.h File base/posix/unix_domain_socket_linux.h (right): https://codereview.chromium.org/2779033002/diff/1/base/posix/unix_domain_socket_linux.h#newcode26 base/posix/unix_domain_socket_linux.h:26: bool CreateSocketPair(ScopedFD* one, ScopedFD* two); This should be BASE_EXPORT, ...
3 years, 8 months ago (2017-04-05 04:50:53 UTC) #3
shunhsingou
https://codereview.chromium.org/2779033002/diff/1/base/posix/unix_domain_socket_linux.h File base/posix/unix_domain_socket_linux.h (right): https://codereview.chromium.org/2779033002/diff/1/base/posix/unix_domain_socket_linux.h#newcode26 base/posix/unix_domain_socket_linux.h:26: bool CreateSocketPair(ScopedFD* one, ScopedFD* two); On 2017/04/05 04:50:53, mdempsky ...
3 years, 8 months ago (2017-04-05 05:11:18 UTC) #4
mdempsky
lgtm (but base/OWNERS will have to approve)
3 years, 8 months ago (2017-04-05 05:52:57 UTC) #5
Luis Héctor Chávez
lgtm with a nit (even though my vote here does not really count). https://codereview.chromium.org/2779033002/diff/20001/base/posix/unix_domain_socket_linux.cc File ...
3 years, 8 months ago (2017-04-05 14:55:44 UTC) #6
dcheng
LGTM
3 years, 8 months ago (2017-04-05 17:09:20 UTC) #7
shunhsingou
https://codereview.chromium.org/2779033002/diff/20001/base/posix/unix_domain_socket_linux.cc File base/posix/unix_domain_socket_linux.cc (right): https://codereview.chromium.org/2779033002/diff/20001/base/posix/unix_domain_socket_linux.cc#newcode29 base/posix/unix_domain_socket_linux.cc:29: // Creates a connected pair of UNIX-domain SOCK_SEQPACKET sockets, ...
3 years, 8 months ago (2017-04-06 03:16:35 UTC) #8
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/2779033002/40001
3 years, 8 months ago (2017-04-06 03:17:21 UTC) #11
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 04:18:02 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6a52479520c587fc61eb3106f27a...

Powered by Google App Engine
This is Rietveld 408576698