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

Issue 10378057: Broker out PPAPI handle duplication (Closed)

Created:
8 years, 7 months ago by jschuh
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, bbudge
Visibility:
Public.

Description

Broker out PPAPI handle duplication BUG=127449 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=136686

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Checkpointing bfore stripping browser handle duplication #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 7

Patch Set 11 : #

Patch Set 12 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -151 lines) Patch
M content/browser/plugin_data_remover_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/plugin_service_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -25 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -6 lines 0 comments Download
M content/common/fileapi/file_system_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -4 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M content/ppapi_plugin/broker_process_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -3 lines 0 comments Download
M content/ppapi_plugin/broker_process_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -3 lines 0 comments Download
M content/ppapi_plugin/plugin_process_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -3 lines 0 comments Download
M content/ppapi_plugin/plugin_process_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -3 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +17 lines, -5 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 3 4 5 6 7 8 9 10 11 7 chunks +28 lines, -10 lines 0 comments Download
M content/public/common/sandbox_init.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -0 lines 0 comments Download
A content/public/common/sandbox_init.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +44 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_broker_impl.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_broker_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +2 lines, -4 lines 0 comments Download
M content/renderer/pepper/pepper_broker_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -5 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +6 lines, -11 lines 0 comments Download
M content/renderer/pepper/pepper_proxy_channel_delegate_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_proxy_channel_delegate_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +10 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/proxy/broker_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +4 lines, -6 lines 0 comments Download
M ppapi/proxy/broker_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +6 lines, -10 lines 0 comments Download
M ppapi/proxy/dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/proxy/dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -4 lines 0 comments Download
M ppapi/proxy/host_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/proxy/host_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -3 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/proxy/plugin_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -3 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -0 lines 0 comments Download
M ppapi/proxy/ppapi_proxy_test.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +20 lines, -4 lines 0 comments Download
M ppapi/proxy/proxy_channel.h View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +12 lines, -4 lines 0 comments Download
M ppapi/proxy/proxy_channel.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -5 lines 0 comments Download
M webkit/fileapi/file_system_callback_dispatcher.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -2 lines 0 comments Download
M webkit/fileapi/file_system_callback_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
jschuh
I needed to get privileged process handles out of the sandboxed processes. This meant converting ...
8 years, 7 months ago (2012-05-10 00:10:56 UTC) #1
jschuh
@jamesr - Turns out @piman can't give me a webkit/ rubberstamp. Do you mind?
8 years, 7 months ago (2012-05-10 02:13:45 UTC) #2
jamesr
webkit/ and content/renderer/(non-pepper) LGTM
8 years, 7 months ago (2012-05-10 18:06:30 UTC) #3
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/10378057/diff/70/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): http://codereview.chromium.org/10378057/diff/70/content/ppapi_plugin/ppapi_thread.cc#newcode125 content/ppapi_plugin/ppapi_thread.cc:125: peer_handle_ = ::OpenProcess(PROCESS_DUP_HANDLE, FALSE, peer_pid); do we ever close ...
8 years, 7 months ago (2012-05-10 22:10:43 UTC) #4
jschuh
http://codereview.chromium.org/10378057/diff/70/content/ppapi_plugin/ppapi_thread.cc File content/ppapi_plugin/ppapi_thread.cc (right): http://codereview.chromium.org/10378057/diff/70/content/ppapi_plugin/ppapi_thread.cc#newcode125 content/ppapi_plugin/ppapi_thread.cc:125: peer_handle_ = ::OpenProcess(PROCESS_DUP_HANDLE, FALSE, peer_pid); On 2012/05/10 22:10:43, cpu ...
8 years, 7 months ago (2012-05-10 22:16:28 UTC) #5
jschuh
@brettw - ping
8 years, 7 months ago (2012-05-11 17:40:28 UTC) #6
jschuh
@bbudge - fyi for your pending cl
8 years, 7 months ago (2012-05-11 18:13:07 UTC) #7
brettw
lgtm
8 years, 7 months ago (2012-05-11 20:54:20 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/10378057/11066
8 years, 7 months ago (2012-05-11 20:59:16 UTC) #9
commit-bot: I haz the power
8 years, 7 months ago (2012-05-11 21:18:28 UTC) #10
Try job failure for 10378057-11066 (retry) on android for steps "compile, build"
(clobber build).
It's a second try, previously, steps "compile, build" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=android&nu...

Powered by Google App Engine
This is Rietveld 408576698