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

Issue 10696132: Wire up a PPAPI host in content/browser. (Closed)

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

Description

Wire up a PPAPI host in content/browser. Nothing actually uses this yet. I plumbed through a PpapiHost and the permissions through the message filter. BUG= TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146816

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -7 lines) Patch
M content/browser/ppapi_plugin_process_host.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/ppapi_plugin_process_host.cc View 3 chunks +5 lines, -4 lines 0 comments Download
A content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h View 1 1 chunk +36 lines, -0 lines 0 comments Download
A content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc View 1 chunk +31 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_message_filter.h View 1 2 4 chunks +11 lines, -1 line 0 comments Download
M content/browser/renderer_host/pepper/pepper_message_filter.cc View 1 2 3 chunks +18 lines, -1 line 1 comment Download
M content/content_browser.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
brettw
Should be easy.
8 years, 5 months ago (2012-07-08 23:55:41 UTC) #1
dmichael (off chromium)
http://codereview.chromium.org/10696132/diff/1/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h File content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h (right): http://codereview.chromium.org/10696132/diff/1/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h#newcode17 content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h:17: ContentBrowserPepperHostFactory(PepperMessageFilter* filter); explicit ;-) Maybe worth mentioning the ownership ...
8 years, 5 months ago (2012-07-09 02:14:46 UTC) #2
brettw
New snap up http://codereview.chromium.org/10696132/diff/1/content/browser/renderer_host/pepper_message_filter.cc File content/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/10696132/diff/1/content/browser/renderer_host/pepper_message_filter.cc#newcode82 content/browser/renderer_host/pepper_message_filter.cc:82: permissions_), I know what you mean, ...
8 years, 5 months ago (2012-07-09 04:41:46 UTC) #3
dmichael (off chromium)
Everything I understand lgtm. I was hoping you could explain the bit about permissions and ...
8 years, 5 months ago (2012-07-09 15:00:26 UTC) #4
brettw
http://codereview.chromium.org/10696132/diff/5001/content/browser/renderer_host/pepper_message_filter.cc File content/browser/renderer_host/pepper_message_filter.cc (right): http://codereview.chromium.org/10696132/diff/5001/content/browser/renderer_host/pepper_message_filter.cc#newcode130 content/browser/renderer_host/pepper_message_filter.cc:130: // than the renderer might have. I rephrased this ...
8 years, 5 months ago (2012-07-12 05:18:28 UTC) #5
dmichael (off chromium)
8 years, 5 months ago (2012-07-12 16:12:04 UTC) #6
Thanks for clarifying. LGTM

http://codereview.chromium.org/10696132/diff/9/content/browser/renderer_host/...
File content/browser/renderer_host/pepper/pepper_message_filter.cc (right):

http://codereview.chromium.org/10696132/diff/9/content/browser/renderer_host/...
content/browser/renderer_host/pepper/pepper_message_filter.cc:129: // renderers
to send these messages since they have fewer capabilities for
nit: I think it would be clearer to say something like:
"Ignore messages from renderers, since..."
since the message has already been sent.

Powered by Google App Engine
This is Rietveld 408576698