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

Issue 418004: This adds the first version of SyncSocket to base, along with a trivial unitt... (Closed)

Created:
11 years, 1 month ago by sehr (please use chromium)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, brettw+cc_chromium.org, jam
Visibility:
Public.

Description

This adds the first version of SyncSocket to base, along with a trivial unittest. SyncSocket provides a blocking send/receive that can be used for synchronization. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32927

Patch Set 1 #

Total comments: 22

Patch Set 2 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+440 lines, -1 line) Patch
M base/base.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A base/sync_socket.h View 1 1 chunk +66 lines, -0 lines 4 comments Download
A base/sync_socket_win.cc View 1 1 chunk +144 lines, -0 lines 0 comments Download
M ipc/ipc.gyp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ipc/ipc_tests.h View 1 chunk +3 lines, -1 line 0 comments Download
M ipc/ipc_tests.cc View 3 chunks +9 lines, -0 lines 0 comments Download
A ipc/sync_socket_unittest.cc View 1 1 chunk +211 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
sehr (please use chromium)
11 years, 1 month ago (2009-11-20 02:29:23 UTC) #1
sehr (please use chromium)
On 2009/11/20 02:29:23, sehr wrote: > And obviously I haven't added the Mac or Linux ...
11 years, 1 month ago (2009-11-20 02:34:53 UTC) #2
Paweł Hajdan Jr.
NACK based on high probability of flakiness. http://codereview.chromium.org/418004/diff/1/6 File ipc/sync_socket_unittest.cc (right): http://codereview.chromium.org/418004/diff/1/6#newcode182 Line 182: PlatformThread::Sleep(1000); ...
11 years, 1 month ago (2009-11-20 07:23:26 UTC) #3
sehr (please use chromium)
FWIW, this was cargo-culted from fuzzer tests :-). Agreed, though. I'll find another way. On ...
11 years, 1 month ago (2009-11-20 15:51:59 UTC) #4
cpu_(ooo_6.6-7.5)
David, can you take a look at the lint errors ? It looks that some ...
11 years, 1 month ago (2009-11-21 19:19:56 UTC) #5
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/418004/diff/1/8 File base/sync_socket.h (right): http://codereview.chromium.org/418004/diff/1/8#newcode21 base/sync_socket.h:21: public: indent in public: http://codereview.chromium.org/418004/diff/1/8#newcode38 base/sync_socket.h:38: int Close(); the ...
11 years, 1 month ago (2009-11-23 19:55:22 UTC) #6
sehr (please use chromium)
Carlos, Pawel, Thanks for the feedback. One more version ready. David http://codereview.chromium.org/418004/diff/1/8 File base/sync_socket.h (right): ...
11 years, 1 month ago (2009-11-23 22:18:09 UTC) #7
cpu_(ooo_6.6-7.5)
LGTM
11 years, 1 month ago (2009-11-24 01:50:36 UTC) #8
Paweł Hajdan Jr.
After fixing the micro-nits, LGTM. Thanks! http://codereview.chromium.org/418004/diff/7001/8007 File base/sync_socket.h (right): http://codereview.chromium.org/418004/diff/7001/8007#newcode18 base/sync_socket.h:18: nit: Unnecessary empty ...
11 years, 1 month ago (2009-11-24 06:44:23 UTC) #9
sehr (please use chromium)
Thanks again, folks. http://codereview.chromium.org/418004/diff/7001/8007 File base/sync_socket.h (right): http://codereview.chromium.org/418004/diff/7001/8007#newcode18 base/sync_socket.h:18: On 2009/11/24 06:44:23, Paweł Hajdan Jr. ...
11 years, 1 month ago (2009-11-24 16:13:18 UTC) #10
darin (slow to review)
Sorry for being late to the party, but SyncSocket seems somewhat similar to IPC::Channel. They ...
11 years ago (2009-12-14 22:58:40 UTC) #11
cpu_(ooo_6.6-7.5)
I can answer one way. It was decided in the meeting of 11-25: You can ...
10 years, 11 months ago (2010-01-14 01:57:01 UTC) #12
darin (slow to review)
10 years, 11 months ago (2010-01-14 07:14:08 UTC) #13
Ah, the meeting before thanksgiving.  I'm pretty sure I missed that :-(  Oh
well.

-Darin



On Wed, Jan 13, 2010 at 5:57 PM, <cpu@chromium.org> wrote:

> I can answer one way. It was decided in the meeting of 11-25:
>
> You can find the notes in your e-mail if you search for:
> Pepper/NaCl/3D Weekly meeting notes 11/25/09
>
>
> On 2009/12/14 22:58:40, darin wrote:
>
>> Sorry for being late to the party, but SyncSocket seems somewhat similar
>> to
>> IPC::Channel.  They are both wrappers for a pipe but with different
>> features.
>> This CL doesn't explain why we are adding another interface for a pipe.
>>
>
>
>
> http://codereview.chromium.org/418004
>

Powered by Google App Engine
This is Rietveld 408576698