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

Issue 11359147: Convert the Pepper Talk API to use the new resource system. (Closed)

Created:
8 years, 1 month ago by brettw
Modified:
8 years ago
Reviewers:
Josh Horwich, jschuh
CC:
chromium-reviews, yusukes+watch_chromium.org, jam, yzshen+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, raymes+watch_chromium.org, piman+watch_chromium.org, ihf+watch_chromium.org
Visibility:
Public.

Description

Convert the Pepper Talk API to use the new resource system. This uses the new resource call/reply system and removes the special casing for the messages in the PPAPI plugin and the special filter attached to all child process hosts. This also adds permissions checking (it requires private permissions to use this API). BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170017

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -262 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 2 chunks +0 lines, -6 lines 0 comments Download
D chrome/browser/pepper_gtalk_message_filter.h View 1 chunk +0 lines, -32 lines 0 comments Download
D chrome/browser/pepper_gtalk_message_filter.cc View 1 chunk +0 lines, -63 lines 0 comments Download
M chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.cc View 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/pepper/pepper_talk_host.h View 1 2 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/renderer_host/pepper/pepper_talk_host.cc View 1 chunk +102 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/api/private/ppb_talk_private.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M ppapi/c/private/ppb_talk_private.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 2 3 chunks +4 lines, -2 lines 0 comments Download
M ppapi/proxy/interface_list.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 chunks +12 lines, -14 lines 0 comments Download
D ppapi/proxy/ppb_talk_private_proxy.h View 1 chunk +0 lines, -38 lines 0 comments Download
D ppapi/proxy/ppb_talk_private_proxy.cc View 1 2 1 chunk +0 lines, -91 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 1 2 3 chunks +2 lines, -2 lines 0 comments Download
A ppapi/proxy/talk_resource.h View 1 chunk +41 lines, -0 lines 0 comments Download
A ppapi/proxy/talk_resource.cc View 1 chunk +44 lines, -0 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
brettw
I think I hooked everything up properly, but I have no idea how to test ...
8 years, 1 month ago (2012-11-09 23:36:58 UTC) #1
Josh Horwich
On 2012/11/09 23:36:58, brettw wrote: > I think I hooked everything up properly, but I ...
8 years, 1 month ago (2012-11-15 03:32:18 UTC) #2
Josh Horwich
lgtm (+1 nit/question) On 2012/11/15 03:32:18, Josh Horwich wrote: > On 2012/11/09 23:36:58, brettw wrote: ...
8 years, 1 month ago (2012-11-16 23:29:45 UTC) #3
Josh Horwich
Oops, didn't publish the nit/question... see below. https://codereview.chromium.org/11359147/diff/2001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc File chrome/browser/renderer_host/pepper/pepper_talk_host.cc (right): https://codereview.chromium.org/11359147/diff/2001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc#newcode43 chrome/browser/renderer_host/pepper/pepper_talk_host.cc:43: // should ...
8 years, 1 month ago (2012-11-17 01:01:59 UTC) #4
brettw
https://codereview.chromium.org/11359147/diff/2001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc File chrome/browser/renderer_host/pepper/pepper_talk_host.cc (right): https://codereview.chromium.org/11359147/diff/2001/chrome/browser/renderer_host/pepper/pepper_talk_host.cc#newcode43 chrome/browser/renderer_host/pepper/pepper_talk_host.cc:43: // should use the toplevel window associated with the ...
8 years, 1 month ago (2012-11-19 22:15:38 UTC) #5
brettw
8 years ago (2012-11-28 19:15:06 UTC) #6
TBR=jschuh for ipc messages (they don't actually have any parameters so we
should be pretty safe).

Powered by Google App Engine
This is Rietveld 408576698