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

Issue 1575573002: PNaCl: Remove now-unneeded use of nacl::DescWrapper in TempFile (Closed)

Created:
4 years, 11 months ago by Mark Seaborn
Modified:
4 years, 11 months ago
Reviewers:
bbudge
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PNaCl: Remove now-unneeded use of nacl::DescWrapper in TempFile read_wrapper() and write_wrapper() are no longer used now that the PNaCl code doesn't use SRPC. Open() had the side effect of checking the validity of the handle/descriptor before, so preserve that, but rename it to CheckValidity() to clarify what it does. BUG=302078 TEST=e.g. NaClBrowserTestPnacl.PPAPICore (tests PNaCl translation) Committed: https://crrev.com/770a614de349b5ec5dc0c20308ff745e215e1d8c Cr-Commit-Position: refs/heads/master@{#368467}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -48 lines) Patch
M components/nacl/renderer/plugin/pnacl_coordinator.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M components/nacl/renderer/plugin/temporary_file.h View 3 chunks +2 lines, -17 lines 0 comments Download
M components/nacl/renderer/plugin/temporary_file.cc View 2 chunks +2 lines, -28 lines 2 comments Download

Messages

Total messages: 18 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575573002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575573002/1
4 years, 11 months ago (2016-01-08 20:24:13 UTC) #2
Mark Seaborn
4 years, 11 months ago (2016-01-08 21:30:09 UTC) #7
bbudge
LGTM w/1 suggestion https://codereview.chromium.org/1575573002/diff/1/components/nacl/renderer/plugin/temporary_file.cc File components/nacl/renderer/plugin/temporary_file.cc (right): https://codereview.chromium.org/1575573002/diff/1/components/nacl/renderer/plugin/temporary_file.cc#newcode27 components/nacl/renderer/plugin/temporary_file.cc:27: return PP_OK; nit: you can simplify ...
4 years, 11 months ago (2016-01-08 21:37:06 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-08 21:48:08 UTC) #10
Mark Seaborn
https://codereview.chromium.org/1575573002/diff/1/components/nacl/renderer/plugin/temporary_file.cc File components/nacl/renderer/plugin/temporary_file.cc (right): https://codereview.chromium.org/1575573002/diff/1/components/nacl/renderer/plugin/temporary_file.cc#newcode27 components/nacl/renderer/plugin/temporary_file.cc:27: return PP_OK; On 2016/01/08 21:37:06, bbudge wrote: > nit: ...
4 years, 11 months ago (2016-01-08 22:02:27 UTC) #11
bbudge
On 2016/01/08 22:02:27, Mark Seaborn wrote: > https://codereview.chromium.org/1575573002/diff/1/components/nacl/renderer/plugin/temporary_file.cc > File components/nacl/renderer/plugin/temporary_file.cc (right): > > https://codereview.chromium.org/1575573002/diff/1/components/nacl/renderer/plugin/temporary_file.cc#newcode27 ...
4 years, 11 months ago (2016-01-08 22:23:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1575573002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1575573002/1
4 years, 11 months ago (2016-01-08 22:33:53 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-08 23:53:53 UTC) #16
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 23:55:30 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/770a614de349b5ec5dc0c20308ff745e215e1d8c
Cr-Commit-Position: refs/heads/master@{#368467}

Powered by Google App Engine
This is Rietveld 408576698