Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Issue 10854040: Add hooks to content to request permission to connect to the PPAPI broker. (Closed)

Created:
8 years, 4 months ago by Bernhard Bauer
Modified:
8 years, 4 months ago
Reviewers:
brettw, ddorwin
CC:
chromium-reviews, joi+watch-content_chromium.org, tfarina, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Add hooks to content to request permission to connect to the PPAPI broker. BUG=142639 TEST=browser_tests:PPAPITest.Broker Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152991

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : arghscgrhdgsf #

Patch Set 4 : sdfgdfsgzgf #

Patch Set 5 : fix #

Total comments: 23

Patch Set 6 : review #

Total comments: 4

Patch Set 7 : review #

Patch Set 8 : . #

Total comments: 9

Patch Set 9 : brett #

Patch Set 10 : brett #

Total comments: 2

Patch Set 11 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+250 lines, -66 lines) Patch
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +29 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 7 8 2 chunks +16 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 2 3 4 5 6 7 8 9 2 chunks +13 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_observer.cc View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_broker_impl.h View 1 2 3 4 5 6 1 chunk +25 lines, -11 lines 0 comments Download
M content/renderer/pepper/pepper_broker_impl.cc View 1 2 3 4 5 6 4 chunks +79 lines, -40 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.h View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +42 lines, -11 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_delegate.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M webkit/plugins/ppapi/ppb_broker_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_broker_impl.cc View 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Bernhard Bauer
Please review.
8 years, 4 months ago (2012-08-08 21:01:40 UTC) #1
Bernhard Bauer
Ping?
8 years, 4 months ago (2012-08-09 19:14:04 UTC) #2
ddorwin
I have general concerns about the robustness of the implementation. I'm happy to discuss offline. ...
8 years, 4 months ago (2012-08-12 22:51:16 UTC) #3
Bernhard Bauer
See my comment about the security implications in pepper_broker_impl.cc below. Justin, feel free to weigh ...
8 years, 4 months ago (2012-08-13 09:02:11 UTC) #4
ddorwin
I'll defer to Justin on the renderer vs. browser issue. This is at least an ...
8 years, 4 months ago (2012-08-13 22:27:03 UTC) #5
Bernhard Bauer
http://codereview.chromium.org/10854040/diff/40/content/renderer/pepper/pepper_broker_impl.cc File content/renderer/pepper/pepper_broker_impl.cc (right): http://codereview.chromium.org/10854040/diff/40/content/renderer/pepper/pepper_broker_impl.cc#newcode252 content/renderer/pepper/pepper_broker_impl.cc:252: PP_ERROR_ABORTED); On 2012/08/13 22:27:04, ddorwin wrote: > The code ...
8 years, 4 months ago (2012-08-13 22:42:13 UTC) #6
ddorwin
Thanks. LGTM for me, but you'll need a Pepper team review. Please make sure to ...
8 years, 4 months ago (2012-08-13 23:34:06 UTC) #7
jschuh
On 2012/08/13 22:27:03, ddorwin wrote: > I'll defer to Justin on the renderer vs. browser ...
8 years, 4 months ago (2012-08-13 23:35:21 UTC) #8
Bernhard Bauer
On 2012/08/13 23:34:06, ddorwin wrote: > Thanks. LGTM for me, but you'll need a Pepper ...
8 years, 4 months ago (2012-08-14 07:25:31 UTC) #9
Bernhard Bauer
Brett, ping? :)
8 years, 4 months ago (2012-08-15 20:00:09 UTC) #10
brettw
http://codereview.chromium.org/10854040/diff/15001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): http://codereview.chromium.org/10854040/diff/15001/chrome/browser/ui/browser.cc#newcode1710 chrome/browser/ui/browser.cc:1710: void Browser::RequestPpapiBrokerPermission( You should be able to do this ...
8 years, 4 months ago (2012-08-20 05:29:47 UTC) #11
Bernhard Bauer
https://chromiumcodereview.appspot.com/10854040/diff/15001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://chromiumcodereview.appspot.com/10854040/diff/15001/chrome/browser/ui/browser.cc#newcode1710 chrome/browser/ui/browser.cc:1710: void Browser::RequestPpapiBrokerPermission( On 2012/08/20 05:29:47, brettw wrote: > You ...
8 years, 4 months ago (2012-08-20 14:43:20 UTC) #12
brettw
https://chromiumcodereview.appspot.com/10854040/diff/15001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://chromiumcodereview.appspot.com/10854040/diff/15001/chrome/browser/ui/browser.cc#newcode1710 chrome/browser/ui/browser.cc:1710: void Browser::RequestPpapiBrokerPermission( No, the observes "do stuff" as well. ...
8 years, 4 months ago (2012-08-20 23:36:25 UTC) #13
Bernhard Bauer
https://chromiumcodereview.appspot.com/10854040/diff/15001/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (right): https://chromiumcodereview.appspot.com/10854040/diff/15001/chrome/browser/ui/browser.cc#newcode1710 chrome/browser/ui/browser.cc:1710: void Browser::RequestPpapiBrokerPermission( On 2012/08/20 23:36:25, brettw wrote: > No, ...
8 years, 4 months ago (2012-08-21 11:50:12 UTC) #14
brettw
lgtm https://chromiumcodereview.appspot.com/10854040/diff/9034/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://chromiumcodereview.appspot.com/10854040/diff/9034/content/browser/web_contents/web_contents_impl.h#newcode492 content/browser/web_contents/web_contents_impl.h:492: // |result| is true iff permission was granted. ...
8 years, 4 months ago (2012-08-22 22:37:30 UTC) #15
Bernhard Bauer
https://chromiumcodereview.appspot.com/10854040/diff/9034/content/browser/web_contents/web_contents_impl.h File content/browser/web_contents/web_contents_impl.h (right): https://chromiumcodereview.appspot.com/10854040/diff/9034/content/browser/web_contents/web_contents_impl.h#newcode492 content/browser/web_contents/web_contents_impl.h:492: // |result| is true iff permission was granted. On ...
8 years, 4 months ago (2012-08-23 09:37:41 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10854040/19002
8 years, 4 months ago (2012-08-23 09:38:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10854040/21004
8 years, 4 months ago (2012-08-23 10:20:16 UTC) #18
commit-bot: I haz the power
8 years, 4 months ago (2012-08-23 14:40:52 UTC) #19
Change committed as 152991

Powered by Google App Engine
This is Rietveld 408576698