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 7585025: Reland 95309. Add a template to handle properly issuing completion callbacks. (Closed)

Created:
9 years, 4 months ago by brettw
Modified:
9 years, 4 months ago
Reviewers:
cpu_(ooo_6.6-7.5)
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Reland 95309. Add a template to handle properly issuing completion callbacks. This fixes some bugs where we forgot to issue completion callbacks in some error cases in the proxy, and cleans up the cases that were already doing this properly. This removes the PPB_AudioTrusted_API and folds those functions into the regular Audio API. I'm trying to merge more things to have a smaller explosion of APIs and the boilerplate associated with them. Original review URL: http://codereview.chromium.org/7551032 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=95859

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -159 lines) Patch
M ppapi/ppapi_shared.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/enter_proxy.h View 2 chunks +91 lines, -0 lines 0 comments Download
M ppapi/proxy/ppb_audio_proxy.cc View 8 chunks +48 lines, -22 lines 0 comments Download
M ppapi/proxy/ppb_broker_proxy.cc View 5 chunks +10 lines, -12 lines 0 comments Download
M ppapi/proxy/ppb_file_chooser_proxy.cc View 1 chunk +5 lines, -7 lines 0 comments Download
M ppapi/proxy/ppb_file_system_proxy.cc View 1 chunk +4 lines, -9 lines 0 comments Download
M ppapi/proxy/ppb_flash_menu_proxy.cc View 1 chunk +5 lines, -13 lines 0 comments Download
M ppapi/proxy/ppb_graphics_2d_proxy.cc View 1 chunk +5 lines, -9 lines 0 comments Download
M ppapi/proxy/ppb_graphics_3d_proxy.cc View 1 chunk +3 lines, -11 lines 0 comments Download
M ppapi/proxy/ppb_surface_3d_proxy.cc View 1 chunk +3 lines, -11 lines 0 comments Download
M ppapi/proxy/ppb_url_loader_proxy.cc View 1 chunk +4 lines, -13 lines 0 comments Download
M ppapi/thunk/ppb_audio_api.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ppapi/thunk/ppb_audio_thunk.cc View 2 chunks +6 lines, -4 lines 0 comments Download
D ppapi/thunk/ppb_audio_trusted_api.h View 1 chunk +0 lines, -27 lines 0 comments Download
M ppapi/thunk/ppb_audio_trusted_thunk.cc View 5 chunks +7 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/ppb_audio_impl.h View 3 chunks +0 lines, -5 lines 0 comments Download
M webkit/plugins/ppapi/ppb_audio_impl.cc View 4 chunks +8 lines, -11 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
brettw
This is the same as the previous patch, but setting the flag in the SetResult ...
9 years, 4 months ago (2011-08-06 18:39:51 UTC) #1
cpu_(ooo_6.6-7.5)
So you are saying that the difference is + void SetResult(int32_t result) { + DCHECK(needs_running_) ...
9 years, 4 months ago (2011-08-08 18:00:19 UTC) #2
brettw
On Mon, Aug 8, 2011 at 11:00 AM, <cpu@chromium.org> wrote: > So you are saying ...
9 years, 4 months ago (2011-08-08 19:00:22 UTC) #3
cpu_(ooo_6.6-7.5)
9 years, 4 months ago (2011-08-08 19:39:42 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698