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

Issue 9958034: Convert plugin and GPU process to brokered handle duplication. (Closed)

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

Description

Convert plugin and GPU process to brokered handle duplication. BUG=119250 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=132303

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 6

Patch Set 11 : #

Patch Set 12 : #

Total comments: 2

Patch Set 13 : #

Patch Set 14 : #

Total comments: 6

Patch Set 15 : #

Total comments: 2

Patch Set 16 : #

Patch Set 17 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -252 lines) Patch
M chrome/common/chrome_content_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +3 lines, -21 lines 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +2 lines, -31 lines 0 comments Download
M content/browser/renderer_host/gpu_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/gpu_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -21 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +22 lines, -2 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +6 lines, -5 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +3 lines, -8 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -1 line 0 comments Download
M content/common/gpu/gpu_channel.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +1 line, -11 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +0 lines, -20 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +14 lines, -19 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +1 line, -9 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -6 lines 0 comments Download
M content/common/gpu/media/dxva_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +2 lines, -16 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -3 lines 0 comments Download
M content/common/gpu/media/video_decode_accelerator_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M content/common/np_channel_base.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -1 line 0 comments Download
M content/common/sandbox_policy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +39 lines, -23 lines 0 comments Download
M content/plugin/plugin_channel.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +1 line, -6 lines 0 comments Download
M content/plugin/plugin_channel.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +1 line, -16 lines 0 comments Download
M content/plugin/webplugin_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +9 lines, -14 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -5 lines 0 comments Download
M content/renderer/webplugin_delegate_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +19 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jschuh
Most of this CL is plumbing that needs to be changed all at once. To ...
8 years, 8 months ago (2012-04-08 16:39:52 UTC) #1
apatrick_chromium
I've done a first pass and by inspection it looks good. I need to do ...
8 years, 8 months ago (2012-04-09 18:40:58 UTC) #2
jschuh
After discussing with Carlos I made some additional sandbox changes. So, I have to land ...
8 years, 8 months ago (2012-04-10 19:02:12 UTC) #3
ananta
video acceleration and plugin changes LGTM
8 years, 8 months ago (2012-04-10 19:36:17 UTC) #4
apatrick_chromium
http://codereview.chromium.org/9958034/diff/15140/content/common/gpu/client/gpu_channel_host.h File content/common/gpu/client/gpu_channel_host.h (right): http://codereview.chromium.org/9958034/diff/15140/content/common/gpu/client/gpu_channel_host.h#newcode155 content/common/gpu/client/gpu_channel_host.h:155: base::ProcessId gpu_process_id() const { return channel_->peer_pid(); } I checked ...
8 years, 8 months ago (2012-04-10 20:00:35 UTC) #5
jschuh
http://codereview.chromium.org/9958034/diff/15140/content/common/gpu/client/gpu_channel_host.h File content/common/gpu/client/gpu_channel_host.h (right): http://codereview.chromium.org/9958034/diff/15140/content/common/gpu/client/gpu_channel_host.h#newcode155 content/common/gpu/client/gpu_channel_host.h:155: base::ProcessId gpu_process_id() const { return channel_->peer_pid(); } On 2012/04/10 ...
8 years, 8 months ago (2012-04-10 23:30:59 UTC) #6
apatrick_chromium
lgtm
8 years, 8 months ago (2012-04-10 23:35:22 UTC) #7
jam
lgtm
8 years, 8 months ago (2012-04-11 23:02:05 UTC) #8
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/9958034/diff/27025/content/common/sandbox_policy.cc File content/common/sandbox_policy.cc (right): http://codereview.chromium.org/9958034/diff/27025/content/common/sandbox_policy.cc#newcode465 content/common/sandbox_policy.cc:465: // If our process is the target just duplicate ...
8 years, 8 months ago (2012-04-11 23:11:26 UTC) #9
cpu_(ooo_6.6-7.5)
http://codereview.chromium.org/9958034/diff/27025/chrome/common/chrome_content_client.cc File chrome/common/chrome_content_client.cc (right): http://codereview.chromium.org/9958034/diff/27025/chrome/common/chrome_content_client.cc#newcode412 chrome/common/chrome_content_client.cc:412: // Add policy for proxy window pump. what is ...
8 years, 8 months ago (2012-04-11 23:12:49 UTC) #10
jschuh
http://codereview.chromium.org/9958034/diff/27025/chrome/common/chrome_content_client.cc File chrome/common/chrome_content_client.cc (right): http://codereview.chromium.org/9958034/diff/27025/chrome/common/chrome_content_client.cc#newcode412 chrome/common/chrome_content_client.cc:412: // Add policy for proxy window pump. On 2012/04/11 ...
8 years, 8 months ago (2012-04-11 23:52:32 UTC) #11
jschuh
http://codereview.chromium.org/9958034/diff/27025/content/common/sandbox_policy.cc File content/common/sandbox_policy.cc (right): http://codereview.chromium.org/9958034/diff/27025/content/common/sandbox_policy.cc#newcode465 content/common/sandbox_policy.cc:465: // If our process is the target just duplicate ...
8 years, 8 months ago (2012-04-12 03:37:32 UTC) #12
jschuh
All the dependencies I needed for this are in, so I'm planning to land it ...
8 years, 8 months ago (2012-04-13 15:55:20 UTC) #13
cpu_(ooo_6.6-7.5)
lgtm
8 years, 8 months ago (2012-04-13 17:39:11 UTC) #14
jschuh
Apparently I didn't delete enough code, and broke Chrome OS. @piman for one last review.
8 years, 8 months ago (2012-04-13 22:09:36 UTC) #15
piman
http://codereview.chromium.org/9958034/diff/44001/content/browser/gpu/browser_gpu_channel_host_factory.cc File content/browser/gpu/browser_gpu_channel_host_factory.cc (right): http://codereview.chromium.org/9958034/diff/44001/content/browser/gpu/browser_gpu_channel_host_factory.cc#newcode190 content/browser/gpu/browser_gpu_channel_host_factory.cc:190: return NULL; Hold on batman, we still need a ...
8 years, 8 months ago (2012-04-13 22:13:46 UTC) #16
jschuh
http://codereview.chromium.org/9958034/diff/44001/content/browser/gpu/browser_gpu_channel_host_factory.cc File content/browser/gpu/browser_gpu_channel_host_factory.cc (right): http://codereview.chromium.org/9958034/diff/44001/content/browser/gpu/browser_gpu_channel_host_factory.cc#newcode190 content/browser/gpu/browser_gpu_channel_host_factory.cc:190: return NULL; On 2012/04/13 22:13:46, piman wrote: > Hold ...
8 years, 8 months ago (2012-04-13 22:26:20 UTC) #17
piman
lgtm
8 years, 8 months ago (2012-04-13 22:31:51 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jschuh@chromium.org/9958034/53026
8 years, 8 months ago (2012-04-13 22:35:49 UTC) #19
commit-bot: I haz the power
8 years, 8 months ago (2012-04-14 00:48:23 UTC) #20
Try job failure for 9958034-53026 (retry) on mac_rel for step "browser_tests".
It's a second try, previously, step "browser_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&nu...

Powered by Google App Engine
This is Rietveld 408576698