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

Issue 299143004: Pepper: TempFile cleanup. (Closed)

Created:
6 years, 7 months ago by teravest
Modified:
6 years, 7 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Pepper: TempFile cleanup. This cleans up some usage of TempFile and some logic inside PnaclCoordinator to make it easier to follow. I made these changes while doing some other cleanup for DescWrapper use in the trusted plugin. BUG=333950 R=jvoung@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273024

Patch Set 1 : build fix #

Total comments: 4

Patch Set 2 : rebased #

Patch Set 3 : #

Patch Set 4 : Saner fd behavior #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -91 lines) Patch
M ppapi/native_client/src/trusted/plugin/plugin.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h View 1 3 chunks +1 line, -26 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc View 1 2 6 chunks +21 lines, -33 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/temporary_file.h View 1 2 4 chunks +8 lines, -7 lines 0 comments Download
M ppapi/native_client/src/trusted/plugin/temporary_file.cc View 1 2 3 4 chunks +22 lines, -22 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
teravest
6 years, 7 months ago (2014-05-23 17:31:18 UTC) #1
jvoung (off chromium)
LGTM https://codereview.chromium.org/299143004/diff/10001/ppapi/native_client/src/trusted/plugin/temporary_file.cc File ppapi/native_client/src/trusted/plugin/temporary_file.cc (right): https://codereview.chromium.org/299143004/diff/10001/ppapi/native_client/src/trusted/plugin/temporary_file.cc#newcode33 ppapi/native_client/src/trusted/plugin/temporary_file.cc:33: plugin_->nacl_interface()->CreateTemporaryFile(plugin_->pp_instance()); Might have to set "existing_handle_ = file_handle" ...
6 years, 7 months ago (2014-05-23 17:53:04 UTC) #2
teravest
Thanks! On 2014/05/23 17:53:04, jvoung wrote: > LGTM > > https://codereview.chromium.org/299143004/diff/10001/ppapi/native_client/src/trusted/plugin/temporary_file.cc > File ppapi/native_client/src/trusted/plugin/temporary_file.cc (right): ...
6 years, 7 months ago (2014-05-23 20:22:40 UTC) #3
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-23 20:59:01 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/299143004/80001
6 years, 7 months ago (2014-05-23 21:00:50 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-24 02:53:41 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-24 04:55:47 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/32374)
6 years, 7 months ago (2014-05-24 04:55:47 UTC) #8
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-24 15:43:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/299143004/80001
6 years, 7 months ago (2014-05-24 15:43:07 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-24 23:20:12 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-25 01:14:14 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/32438)
6 years, 7 months ago (2014-05-25 01:14:14 UTC) #13
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 7 months ago (2014-05-27 18:05:07 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/299143004/100001
6 years, 7 months ago (2014-05-27 18:05:29 UTC) #15
teravest
6 years, 7 months ago (2014-05-27 20:58:55 UTC) #16
Message was sent while issue was closed.
Committed patchset #4 manually as r273024 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698