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

Issue 15947004: Allow renderer to create pepper ResourceHosts in the browser (Closed)

Created:
7 years, 7 months ago by raymes
Modified:
7 years, 6 months ago
Reviewers:
teravest, jschuh, brettw, yzshen1
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Allow renderer to create pepper ResourceHosts in the browser This CL allows pending ResourceHosts to be created in the browser from the renderer. The functionality is currently exposed through the RendererPpapiHost. The creation call is asynchronous - a callback will be called in the renderer with a pending host ID when the host has been created. BUG=246396 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204954

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 12

Patch Set 4 : . #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -10 lines) Patch
M content/browser/ppapi_plugin_process_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_renderer_connection.h View 1 1 chunk +47 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/pepper_renderer_connection.cc View 1 2 3 4 5 1 chunk +79 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_renderer.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/renderer/renderer_ppapi_host.h View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
M content/renderer/pepper/mock_renderer_ppapi_host.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/mock_renderer_ppapi_host.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
A content/renderer/pepper/pepper_browser_connection.h View 1 2 3 4 5 1 chunk +61 lines, -0 lines 0 comments Download
A content/renderer/pepper/pepper_browser_connection.cc View 1 2 3 4 5 1 chunk +78 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 4 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/pepper/renderer_ppapi_host_impl.cc View 1 2 3 4 5 6 2 chunks +25 lines, -0 lines 0 comments Download
M ppapi/host/ppapi_host.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ppapi/host/ppapi_host.cc View 1 2 2 chunks +31 lines, -10 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 1 chunk +22 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
raymes
7 years, 6 months ago (2013-05-28 21:51:42 UTC) #1
teravest
https://codereview.chromium.org/15947004/diff/2001/content/public/renderer/renderer_ppapi_host.h File content/public/renderer/renderer_ppapi_host.h (right): https://codereview.chromium.org/15947004/diff/2001/content/public/renderer/renderer_ppapi_host.h#newcode146 content/public/renderer/renderer_ppapi_host.h:146: // returned upon error. small nit: Should this be ...
7 years, 6 months ago (2013-05-29 15:19:36 UTC) #2
raymes
https://codereview.chromium.org/15947004/diff/2001/content/public/renderer/renderer_ppapi_host.h File content/public/renderer/renderer_ppapi_host.h (right): https://codereview.chromium.org/15947004/diff/2001/content/public/renderer/renderer_ppapi_host.h#newcode146 content/public/renderer/renderer_ppapi_host.h:146: // returned upon error. On 2013/05/29 15:19:36, teravest wrote: ...
7 years, 6 months ago (2013-05-29 15:53:03 UTC) #3
teravest
lgtm
7 years, 6 months ago (2013-05-29 16:40:09 UTC) #4
teravest
https://codereview.chromium.org/15947004/diff/9001/content/browser/renderer_host/pepper/pepper_renderer_connection.cc File content/browser/renderer_host/pepper/pepper_renderer_connection.cc (right): https://codereview.chromium.org/15947004/diff/9001/content/browser/renderer_host/pepper/pepper_renderer_connection.cc#newcode63 content/browser/renderer_host/pepper/pepper_renderer_connection.cc:63: NOTREACHED(); One late comment, from https://sites.google.com/a/chromium.org/dev/Home/chromium-security/security-tips-for-ipc: Avoid browser side ...
7 years, 6 months ago (2013-05-29 16:57:13 UTC) #5
raymes
On 2013/05/29 16:57:13, teravest wrote: > https://codereview.chromium.org/15947004/diff/9001/content/browser/renderer_host/pepper/pepper_renderer_connection.cc > File content/browser/renderer_host/pepper/pepper_renderer_connection.cc (right): > > https://codereview.chromium.org/15947004/diff/9001/content/browser/renderer_host/pepper/pepper_renderer_connection.cc#newcode63 > ...
7 years, 6 months ago (2013-05-29 17:10:30 UTC) #6
teravest
lgtm On 2013/05/29 17:10:30, raymes wrote: > On 2013/05/29 16:57:13, teravest wrote: > > > ...
7 years, 6 months ago (2013-05-29 17:13:16 UTC) #7
yzshen1
It is a little bit unfortunate that it gets more and more complex. But maybe ...
7 years, 6 months ago (2013-05-29 17:57:21 UTC) #8
raymes
https://codereview.chromium.org/15947004/diff/9001/content/browser/renderer_host/pepper/pepper_renderer_connection.cc File content/browser/renderer_host/pepper/pepper_renderer_connection.cc (right): https://codereview.chromium.org/15947004/diff/9001/content/browser/renderer_host/pepper/pepper_renderer_connection.cc#newcode56 content/browser/renderer_host/pepper/pepper_renderer_connection.cc:56: return; On 2013/05/29 17:57:21, yzshen1 wrote: > Do you ...
7 years, 6 months ago (2013-06-04 04:11:10 UTC) #9
yzshen1
lgtm
7 years, 6 months ago (2013-06-04 16:21:32 UTC) #10
raymes
+brettw
7 years, 6 months ago (2013-06-04 16:44:40 UTC) #11
brettw
Owners LGTM. We discussed verbally: - Make sure the messages come in on the I/O ...
7 years, 6 months ago (2013-06-06 20:06:18 UTC) #12
raymes
+jschuh for ppapi_messages.h Note that the renderer could lie about the plugin process ID. In ...
7 years, 6 months ago (2013-06-06 21:20:02 UTC) #13
jschuh
On 2013/06/06 21:20:02, raymes wrote: > +jschuh for ppapi_messages.h > > Note that the renderer ...
7 years, 6 months ago (2013-06-06 21:23:40 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raymes@chromium.org/15947004/51001
7 years, 6 months ago (2013-06-07 17:34:07 UTC) #15
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 22:15:26 UTC) #16
Message was sent while issue was closed.
Change committed as 204954

Powered by Google App Engine
This is Rietveld 408576698