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

Issue 380773002: Pepper: Use base::Callback in RequestNexeFd. (Closed)

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

Description

Pepper: Use base::Callback in RequestNexeFd. GetNexeFd() in ppb_nacl_private_impl will change soon to be an internal method, not one exposed through the PPB_NaCl_Private interface. From inside Chromium, base::Callback is much easier to use than PP_CompletionCallback or TrackedCallback. This is one of a series of changes to refactor the pexe downloading logic in the trusted plugin. BUG=370556 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282112

Patch Set 1 : #

Total comments: 1

Patch Set 2 : TrackedCallback ugh #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -54 lines) Patch
M components/nacl/renderer/pnacl_translation_resource_host.h View 3 chunks +11 lines, -21 lines 0 comments Download
M components/nacl/renderer/pnacl_translation_resource_host.cc View 7 chunks +19 lines, -30 lines 0 comments Download
M components/nacl/renderer/ppb_nacl_private_impl.cc View 1 2 chunks +14 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
teravest
6 years, 5 months ago (2014-07-09 16:54:00 UTC) #1
dmichael (off chromium)
https://codereview.chromium.org/380773002/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc File components/nacl/renderer/ppb_nacl_private_impl.cc (right): https://codereview.chromium.org/380773002/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc#newcode661 components/nacl/renderer/ppb_nacl_private_impl.cc:661: base::Bind(&GetNexeFdContinuation, callback, is_hit, handle)); Can you use TrackedCallback instead ...
6 years, 5 months ago (2014-07-09 17:38:31 UTC) #2
teravest
On Wed, Jul 9, 2014 at 11:38 AM, <dmichael@chromium.org> wrote: > > https://codereview.chromium.org/380773002/diff/20001/components/nacl/renderer/ppb_nacl_private_impl.cc > File ...
6 years, 5 months ago (2014-07-09 17:55:52 UTC) #3
dmichael (off chromium)
lgtm
6 years, 5 months ago (2014-07-09 18:03:16 UTC) #4
teravest
The CQ bit was checked by teravest@chromium.org
6 years, 5 months ago (2014-07-09 18:03:52 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/teravest@chromium.org/380773002/40001
6 years, 5 months ago (2014-07-09 18:04:27 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-09 20:33:13 UTC) #7
Message was sent while issue was closed.
Change committed as 282112

Powered by Google App Engine
This is Rietveld 408576698