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

Issue 9391006: PPAPI: Add unlocking for PPP calls and callbacks. Add more locking. (Closed)

Created:
8 years, 10 months ago by dmichael (off chromium)
Modified:
8 years, 10 months ago
Reviewers:
brettw
CC:
chromium-reviews
Visibility:
Public.

Description

PPAPI: Add unlocking for PPP calls and callbacks. Add more locking. With this patch, ppapi_tests pass locally when building with enable_pepper_threading=1. (They didn't before). TODO: Test more calls off the main thread, make sync completion callbacks work. BUG=92909 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121901

Patch Set 1 #

Patch Set 2 : added documentation #

Total comments: 4

Patch Set 3 : review fixes #

Patch Set 4 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+225 lines, -61 lines) Patch
M ppapi/proxy/plugin_dispatcher.cc View 3 chunks +15 lines, -3 lines 0 comments Download
M ppapi/proxy/ppb_core_proxy.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_flash_proxy.cc View 8 chunks +11 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_message_loop_proxy.cc View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_testing_proxy.cc View 1 2 3 6 chunks +9 lines, -2 lines 0 comments Download
M ppapi/proxy/ppb_var_deprecated_proxy.cc View 12 chunks +14 lines, -3 lines 0 comments Download
M ppapi/proxy/ppp_class_proxy.cc View 6 chunks +17 lines, -10 lines 0 comments Download
M ppapi/proxy/ppp_graphics_3d_proxy.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_input_event_proxy.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M ppapi/proxy/ppp_instance_private_proxy.cc View 2 chunks +3 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_instance_private_proxy_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ppapi/proxy/ppp_messaging_proxy.cc View 2 chunks +4 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_mouse_lock_proxy.cc View 2 chunks +2 lines, -1 line 0 comments Download
M ppapi/proxy/ppp_video_decoder_proxy.cc View 1 chunk +17 lines, -8 lines 0 comments Download
M ppapi/proxy/serialized_var_unittest.cc View 8 chunks +8 lines, -0 lines 0 comments Download
M ppapi/shared_impl/ppp_instance_combined.cc View 2 chunks +14 lines, -8 lines 0 comments Download
M ppapi/shared_impl/proxy_lock.h View 1 3 chunks +75 lines, -0 lines 0 comments Download
M ppapi/shared_impl/proxy_lock.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/shared_impl/tracked_callback.cc View 3 chunks +4 lines, -3 lines 0 comments Download
M ppapi/thunk/enter.h View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/thunk/enter.cc View 5 chunks +9 lines, -9 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dmichael (off chromium)
This is largely mechanical (except proxy_lock.h/.cc). Everything is still behind a gyp flag. I still ...
8 years, 10 months ago (2012-02-13 20:37:47 UTC) #1
brettw
http://codereview.chromium.org/9391006/diff/5001/ppapi/proxy/ppb_message_loop_proxy.cc File ppapi/proxy/ppb_message_loop_proxy.cc (right): http://codereview.chromium.org/9391006/diff/5001/ppapi/proxy/ppb_message_loop_proxy.cc#newcode201 ppapi/proxy/ppb_message_loop_proxy.cc:201: RunWhileLocked(closure), Isn't this closure into user code, where we ...
8 years, 10 months ago (2012-02-13 20:52:34 UTC) #2
dmichael (off chromium)
http://codereview.chromium.org/9391006/diff/5001/ppapi/proxy/ppb_message_loop_proxy.cc File ppapi/proxy/ppb_message_loop_proxy.cc (right): http://codereview.chromium.org/9391006/diff/5001/ppapi/proxy/ppb_message_loop_proxy.cc#newcode201 ppapi/proxy/ppb_message_loop_proxy.cc:201: RunWhileLocked(closure), On 2012/02/13 20:52:34, brettw wrote: > Isn't this ...
8 years, 10 months ago (2012-02-13 21:15:32 UTC) #3
brettw
lgtm
8 years, 10 months ago (2012-02-13 21:19:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/9391006/8001
8 years, 10 months ago (2012-02-13 21:39:48 UTC) #5
commit-bot: I haz the power
Try job failure for 9391006-8001 (retry) on linux_clang for step "compile" (clobber build). It's a ...
8 years, 10 months ago (2012-02-13 22:23:24 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/9391006/11001
8 years, 10 months ago (2012-02-14 16:31:18 UTC) #7
commit-bot: I haz the power
8 years, 10 months ago (2012-02-14 18:05:41 UTC) #8
Change committed as 121901

Powered by Google App Engine
This is Rietveld 408576698