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

Issue 14007010: Pepper: Autogenerate thunk for PPB_URL_Loader. (Closed)

Created:
7 years, 8 months ago by teravest
Modified:
7 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Pepper: Autogenerate thunk for PPB_URL_Loader. This requires another annotation: "always_set_output_parameters" This annotation ensures that the thunk implementation will zero-out the value of all output parameters on failure. Tested: Built chrome and browser_tests. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194613 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=194915

Patch Set 1 #

Patch Set 2 : Remove unnecessary gamepad thunk update #

Total comments: 1

Patch Set 3 : Use variable name instead of type in sizeof() #

Patch Set 4 : Rebased #

Patch Set 5 : Fix sizeof statements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -83 lines) Patch
M ppapi/api/ppb_gamepad.idl View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/api/ppb_url_loader.idl View 3 chunks +4 lines, -0 lines 0 comments Download
M ppapi/api/trusted/ppb_url_loader_trusted.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M ppapi/generators/idl_thunk.py View 1 2 3 4 3 chunks +55 lines, -24 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/proxy/ppb_url_loader_proxy.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M ppapi/thunk/ppb_gamepad_thunk.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/thunk/ppb_url_loader_api.h View 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/thunk/ppb_url_loader_thunk.cc View 1 2 3 4 6 chunks +43 lines, -51 lines 0 comments Download
A ppapi/thunk/ppb_url_loader_trusted_thunk.cc View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_url_loader_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_url_loader_impl.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
teravest
I'll send another patch later to remove duplication in idl_thunk.py. Unfortunately, cleaning that up is ...
7 years, 8 months ago (2013-04-17 15:42:14 UTC) #1
dmichael (off chromium)
One issue, o/w lgtm https://codereview.chromium.org/14007010/diff/2001/ppapi/thunk/ppb_url_loader_thunk.cc File ppapi/thunk/ppb_url_loader_thunk.cc (right): https://codereview.chromium.org/14007010/diff/2001/ppapi/thunk/ppb_url_loader_thunk.cc#newcode61 ppapi/thunk/ppb_url_loader_thunk.cc:61: memset(bytes_sent, 0, sizeof(int64_t)); It would ...
7 years, 8 months ago (2013-04-17 16:01:11 UTC) #2
teravest
On Wed, Apr 17, 2013 at 10:01 AM, <dmichael@chromium.org> wrote: > One issue, o/w lgtm ...
7 years, 8 months ago (2013-04-17 16:09:41 UTC) #3
teravest
Committed patchset #4 manually as r194613 (presubmit successful).
7 years, 8 months ago (2013-04-17 16:54:39 UTC) #4
teravest
7 years, 8 months ago (2013-04-18 14:04:15 UTC) #5
Message was sent while issue was closed.
Committed patchset #5 manually as r194915 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698