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

Issue 944033002: PPAPI: Whitelist PPB_CameraDevice_Private for some apps (Closed)

Created:
5 years, 10 months ago by Justin Chuang
Modified:
5 years, 10 months ago
CC:
chromium-reviews, wuchengli
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PPAPI: Whitelist PPB_CameraDevice_Private for some apps Also compile PPB_CameraDevice_Private and PPB_CameraCapabilities_Private in NACL. BUG=387547 TEST=Test with a trusted plugin. (Haven't tested on NaCl) Committed: https://crrev.com/586e3dbe02974966b7a3adaf0aebfbcc4d6983ba Cr-Commit-Position: refs/heads/master@{#317984}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Whitelist CameraDevice to alloy #

Patch Set 4 : Remove an unused var #

Patch Set 5 : Fix permission check #

Total comments: 6

Patch Set 6 : Rebase #

Patch Set 7 : Prepare whitelist in constructor #

Total comments: 6

Patch Set 8 : Address reviews in Patch Set 7 #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -34 lines) Patch
M chrome/renderer/chrome_content_renderer_client.h View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 2 3 4 5 6 7 8 3 chunks +25 lines, -2 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/pepper/content_renderer_pepper_host_factory.cc View 1 2 3 4 5 6 7 8 2 chunks +23 lines, -9 lines 0 comments Download
M ppapi/ppapi_proxy.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/ppapi_shared.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M ppapi/proxy/BUILD.gn View 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/proxy/resource_creation_proxy.h View 2 chunks +1 line, -1 line 0 comments Download
M ppapi/proxy/resource_creation_proxy.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M ppapi/thunk/BUILD.gn View 2 chunks +4 lines, -4 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ppapi/thunk/interfaces_ppb_private_no_permissions.h View 1 chunk +5 lines, -0 lines 0 comments Download
M ppapi/thunk/resource_creation_api.h View 2 chunks +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (13 generated)
Justin Chuang
Dave, PTAL This CL fix basic things, but I don't know if it's sufficient to ...
5 years, 10 months ago (2015-02-20 16:18:17 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944033002/20001
5 years, 10 months ago (2015-02-20 16:29:50 UTC) #4
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 10 months ago (2015-02-20 16:29:52 UTC) #6
dmichael (off chromium)
On 2015/02/20 16:18:17, Justin Chuang wrote: > Dave, PTAL > > This CL fix basic ...
5 years, 10 months ago (2015-02-20 18:17:41 UTC) #7
Justin Chuang
On 2015/02/20 18:17:41, dmichael wrote: > On 2015/02/20 16:18:17, Justin Chuang wrote: > > Dave, ...
5 years, 10 months ago (2015-02-21 02:39:15 UTC) #8
Justin Chuang
+jam, please review content_renderer_client.{cc|h} and chrome_content_renderer_client.{cc|h}
5 years, 10 months ago (2015-02-21 03:38:49 UTC) #10
Justin Chuang
-jam, +avi for content/
5 years, 10 months ago (2015-02-21 05:17:59 UTC) #12
Avi (use Gerrit)
lgtm stampity stamp
5 years, 10 months ago (2015-02-21 05:59:19 UTC) #13
Justin Chuang
+ Nico for chrome/ thanks
5 years, 10 months ago (2015-02-21 06:33:33 UTC) #17
Nico
rs-lgtm once dmichael is happy, but… https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc#newcode186 chrome/renderer/chrome_content_renderer_client.cc:186: "4EB74897CB187C7633357C2FE832E0AD6A44883A" // see ...
5 years, 10 months ago (2015-02-21 22:24:12 UTC) #18
Nico
https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc#newcode1570 chrome/renderer/chrome_content_renderer_client.cc:1570: allowed_origins.insert(kPredefinedAllowedCameraDeviceOrigins[i]); (fwiw, the other whitelists build the set once ...
5 years, 10 months ago (2015-02-21 23:21:02 UTC) #19
Justin Chuang
https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc#newcode186 chrome/renderer/chrome_content_renderer_client.cc:186: "4EB74897CB187C7633357C2FE832E0AD6A44883A" // see crbug.com/383937 On 2015/02/21 22:24:12, Nico wrote: ...
5 years, 10 months ago (2015-02-22 12:06:26 UTC) #22
dmichael (off chromium)
lgtm https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc#newcode186 chrome/renderer/chrome_content_renderer_client.cc:186: "4EB74897CB187C7633357C2FE832E0AD6A44883A" // see crbug.com/383937 On 2015/02/22 12:06:26, Justin ...
5 years, 10 months ago (2015-02-24 18:24:10 UTC) #24
Justin Chuang
https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/944033002/diff/80001/chrome/renderer/chrome_content_renderer_client.cc#newcode186 chrome/renderer/chrome_content_renderer_client.cc:186: "4EB74897CB187C7633357C2FE832E0AD6A44883A" // see crbug.com/383937 On 2015/02/24 18:24:09, dmichael wrote: ...
5 years, 10 months ago (2015-02-25 03:59:03 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944033002/200001
5 years, 10 months ago (2015-02-25 04:27:10 UTC) #28
commit-bot: I haz the power
Committed patchset #9 (id:200001)
5 years, 10 months ago (2015-02-25 05:18:05 UTC) #29
commit-bot: I haz the power
5 years, 10 months ago (2015-02-25 05:19:01 UTC) #30
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/586e3dbe02974966b7a3adaf0aebfbcc4d6983ba
Cr-Commit-Position: refs/heads/master@{#317984}

Powered by Google App Engine
This is Rietveld 408576698