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

Issue 552183004: NaCl: Use RAII for sockets in NaClProcessHost. (Closed)

Created:
6 years, 3 months ago by teravest
Modified:
6 years, 3 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

NaCl: Use RAII for sockets in NaClProcessHost. According to crbug.com/412186, there is some incorrect handle management in NaClProcessHost. It's much easier to use base::File to manage closing the socket handles, and it cleans up some weirdness with directly using NaClHandle as well. BUG=412186 Committed: https://crrev.com/296f9f1355e119d78beb1ce377126010c14886d9 Cr-Commit-Position: refs/heads/master@{#294511}

Patch Set 1 #

Patch Set 2 : Windows build fix #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : Clean up namespace/#if nesting #

Patch Set 5 : Clean up namespace/#if nesting #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -56 lines) Patch
M components/nacl/browser/nacl_process_host.h View 3 chunks +3 lines, -9 lines 0 comments Download
M components/nacl/browser/nacl_process_host.cc View 1 2 3 4 13 chunks +15 lines, -47 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
teravest
6 years, 3 months ago (2014-09-11 20:01:15 UTC) #2
Mark Seaborn
The main change is OK. I'm not so keen on the incidental change. https://codereview.chromium.org/552183004/diff/30001/components/nacl/browser/nacl_process_host.cc File ...
6 years, 3 months ago (2014-09-11 20:43:26 UTC) #3
teravest
On 2014/09/11 20:43:26, Mark Seaborn wrote: > The main change is OK. I'm not so ...
6 years, 3 months ago (2014-09-11 21:41:56 UTC) #4
Mark Seaborn
LGTM, thanks
6 years, 3 months ago (2014-09-11 21:50:04 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/552183004/70001
6 years, 3 months ago (2014-09-11 22:23:59 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:70001) as ef8e0e34617a21d49fd4da969a6fa22de84c6ed6
6 years, 3 months ago (2014-09-12 00:56:00 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 00:57:41 UTC) #9
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/296f9f1355e119d78beb1ce377126010c14886d9
Cr-Commit-Position: refs/heads/master@{#294511}

Powered by Google App Engine
This is Rietveld 408576698