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

Issue 10855152: Remove dev check for file chooser. (Closed)

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

Description

Remove dev check for file chooser. Disable the permissions check for dev interfaces in the PPAPI proxy. We don't currently use this check for anything, and it's breaking integrated Flash. We will need to work on getting the permissions correct. BUG=138902 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151541

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M content/renderer/pepper/content_renderer_pepper_host_factory.cc View 1 chunk +5 lines, -1 line 1 comment Download

Messages

Total messages: 2 (0 generated)
brettw
I'm whacking this bug with a bigger hammer since my previous fix didn't seem to ...
8 years, 4 months ago (2012-08-14 17:19:59 UTC) #1
Tom Sepez
8 years, 4 months ago (2012-08-14 18:21:02 UTC) #2
LGTM.

https://chromiumcodereview.appspot.com/10855152/diff/1/content/renderer/peppe...
File content/renderer/pepper/content_renderer_pepper_host_factory.cc (right):

https://chromiumcodereview.appspot.com/10855152/diff/1/content/renderer/peppe...
content/renderer/pepper/content_renderer_pepper_host_factory.cc:43: /*if
(GetPermissions().HasPermission(ppapi::PERMISSION_DEV))*/ {
nit: just for my own education, what do our style guides say about commenting
out code via /* */ vs, say, #if 0 which seems less hacky to me.

Powered by Google App Engine
This is Rietveld 408576698