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

Issue 10735011: Add permissions buts for Pepper plugins. (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

Add permissions buts for Pepper plugins. This patch doesn't actually hook anything up, but it plumbs them in for the laces we'll need it. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=146519

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -18 lines) Patch
M chrome/browser/component_updater/pepper_flash_component_installer.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 4 chunks +7 lines, -0 lines 0 comments Download
M content/common/pepper_plugin_registry.cc View 3 chunks +8 lines, -1 line 0 comments Download
M content/content_common.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/pepper_plugin_info.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/pepper_plugin_info.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_in_process_resource_creation.h View 2 chunks +6 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_in_process_resource_creation.cc View 4 chunks +10 lines, -5 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 5 chunks +10 lines, -4 lines 0 comments Download
M ppapi/host/ppapi_host.h View 3 chunks +8 lines, -1 line 0 comments Download
M ppapi/host/ppapi_host.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A ppapi/shared_impl/ppapi_permissions.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A ppapi/shared_impl/ppapi_permissions.cc View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.h View 4 chunks +6 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 2 chunks +3 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_unittest.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
brettw
Here is a basic permissions checking class for Pepper so I can implement "user gesture" ...
8 years, 5 months ago (2012-07-07 05:08:48 UTC) #1
bbudge
https://chromiumcodereview.appspot.com/10735011/diff/2001/ppapi/shared_impl/ppapi_permissions.h File ppapi/shared_impl/ppapi_permissions.h (right): https://chromiumcodereview.appspot.com/10735011/diff/2001/ppapi/shared_impl/ppapi_permissions.h#newcode23 ppapi/shared_impl/ppapi_permissions.h:23: }; I get the feeling we'll quickly have more ...
8 years, 5 months ago (2012-07-07 22:26:21 UTC) #2
brettw
https://chromiumcodereview.appspot.com/10735011/diff/2001/ppapi/shared_impl/ppapi_permissions.h File ppapi/shared_impl/ppapi_permissions.h (right): https://chromiumcodereview.appspot.com/10735011/diff/2001/ppapi/shared_impl/ppapi_permissions.h#newcode23 ppapi/shared_impl/ppapi_permissions.h:23: }; I'm actually more optimistic about this being enough ...
8 years, 5 months ago (2012-07-08 03:24:25 UTC) #3
bbudge
LGTM
8 years, 5 months ago (2012-07-08 15:10:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brettw@chromium.org/10735011/2001
8 years, 5 months ago (2012-07-08 22:57:07 UTC) #5
commit-bot: I haz the power
Presubmit check for 10735011-2001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-08 22:57:13 UTC) #6
dmichael (off chromium)
drive-by lgtm http://codereview.chromium.org/10735011/diff/2001/ppapi/shared_impl/ppapi_permissions.cc File ppapi/shared_impl/ppapi_permissions.cc (right): http://codereview.chromium.org/10735011/diff/2001/ppapi/shared_impl/ppapi_permissions.cc#newcode19 ppapi/shared_impl/ppapi_permissions.cc:19: return !!(permissions_ & static_cast<uint32>(perm)); optional: You could ...
8 years, 5 months ago (2012-07-09 14:41:35 UTC) #7
brettw
8 years, 5 months ago (2012-07-13 04:28:13 UTC) #8
TBR=cpu for component_updater

Powered by Google App Engine
This is Rietveld 408576698