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

Issue 10696217: Implement SyncSocket for untrusted NaCl builds. (Closed)

Created:
8 years, 5 months ago by bbudge
Modified:
8 years, 5 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Implement SyncSocket for untrusted NaCl builds. BUG=116317 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146732

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -7 lines) Patch
M base/sync_socket_nacl.cc View 1 2 chunks +14 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
bbudge
This is enough implementation to get the audio proxy working. I'm not sure how much ...
8 years, 5 months ago (2012-07-13 22:53:01 UTC) #1
brettw
lgtm http://codereview.chromium.org/10696217/diff/3001/base/sync_socket_nacl.cc File base/sync_socket_nacl.cc (right): http://codereview.chromium.org/10696217/diff/3001/base/sync_socket_nacl.cc#newcode32 base/sync_socket_nacl.cc:32: if (handle_ != -1) { Can you use ...
8 years, 5 months ago (2012-07-13 23:12:55 UTC) #2
Mark Seaborn
http://codereview.chromium.org/10696217/diff/3001/base/sync_socket_nacl.cc File base/sync_socket_nacl.cc (right): http://codereview.chromium.org/10696217/diff/3001/base/sync_socket_nacl.cc#newcode33 base/sync_socket_nacl.cc:33: close(handle_); Please check the return value of close()
8 years, 5 months ago (2012-07-13 23:18:32 UTC) #3
bbudge
8 years, 5 months ago (2012-07-13 23:44:05 UTC) #4
http://codereview.chromium.org/10696217/diff/3001/base/sync_socket_nacl.cc
File base/sync_socket_nacl.cc (right):

http://codereview.chromium.org/10696217/diff/3001/base/sync_socket_nacl.cc#ne...
base/sync_socket_nacl.cc:32: if (handle_ != -1) {
On 2012/07/13 23:12:55, brettw wrote:
> Can you use kInvalidHandle instead of -1 in this function?

Done.

http://codereview.chromium.org/10696217/diff/3001/base/sync_socket_nacl.cc#ne...
base/sync_socket_nacl.cc:33: close(handle_);
On 2012/07/13 23:18:32, Mark Seaborn wrote:
> Please check the return value of close()

Done.

http://codereview.chromium.org/10696217/diff/3001/base/sync_socket_nacl.cc#ne...
base/sync_socket_nacl.cc:40: return -1;
On 2012/07/13 23:12:55, brettw wrote:
> Can you comment why this isn't implemented?

Done.

Powered by Google App Engine
This is Rietveld 408576698