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

Issue 15521002: Flag and whitelist to allow crxfs api in NaCl (Closed)

Created:
7 years, 7 months ago by victorhsieh
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Flag and whitelist to allow crxfs api in NaCl This is pretty much the same as existing Pepper Socket API. Since the original code for socket is in chrome_content_browser_client.h for crossing chrome-content boundary, it's moved to the new file pepper_util.cc, so that PepperCrxFileSystemMessageFilter can access directory inside chrome space. BUG=240865 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202951

Patch Set 1 : #

Total comments: 24

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 10

Patch Set 5 : #

Patch Set 6 : ifdef #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -82 lines) Patch
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 chunks +13 lines, -65 lines 0 comments Download
A chrome/browser/pepper_permission_util.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A chrome/browser/pepper_permission_util.cc View 1 2 3 4 1 chunk +103 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.cc View 2 chunks +16 lines, -8 lines 0 comments Download
M chrome/browser/renderer_host/pepper/pepper_crx_file_system_message_filter.h View 1 2 4 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/pepper/pepper_crx_file_system_message_filter.cc View 1 2 5 chunks +29 lines, -6 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/pepper/content_browser_pepper_host_factory.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
victorhsieh
7 years, 7 months ago (2013-05-21 17:29:06 UTC) #1
victorhsieh
This is not urgent, but would be nice if you can look at this when ...
7 years, 7 months ago (2013-05-21 17:47:48 UTC) #2
yzshen1
https://codereview.chromium.org/15521002/diff/2001/chrome/browser/pepper_util.cc File chrome/browser/pepper_util.cc (right): https://codereview.chromium.org/15521002/diff/2001/chrome/browser/pepper_util.cc#newcode79 chrome/browser/pepper_util.cc:79: // Need to check this now and not on ...
7 years, 7 months ago (2013-05-22 18:14:23 UTC) #3
victorhsieh
PTAL https://codereview.chromium.org/15521002/diff/2001/chrome/browser/pepper_util.cc File chrome/browser/pepper_util.cc (right): https://codereview.chromium.org/15521002/diff/2001/chrome/browser/pepper_util.cc#newcode79 chrome/browser/pepper_util.cc:79: // Need to check this now and not ...
7 years, 7 months ago (2013-05-22 19:47:32 UTC) #4
yzshen1
https://codereview.chromium.org/15521002/diff/2001/chrome/browser/pepper_util.h File chrome/browser/pepper_util.h (right): https://codereview.chromium.org/15521002/diff/2001/chrome/browser/pepper_util.h#newcode5 chrome/browser/pepper_util.h:5: #ifndef CHROME_BROWSER_PEPPER_UTIL_H_ I think it is better to have ...
7 years, 7 months ago (2013-05-22 20:12:47 UTC) #5
victorhsieh
https://codereview.chromium.org/15521002/diff/2001/chrome/browser/pepper_util.h File chrome/browser/pepper_util.h (right): https://codereview.chromium.org/15521002/diff/2001/chrome/browser/pepper_util.h#newcode5 chrome/browser/pepper_util.h:5: #ifndef CHROME_BROWSER_PEPPER_UTIL_H_ On 2013/05/22 20:12:47, yzshen1 wrote: > I ...
7 years, 7 months ago (2013-05-22 20:52:22 UTC) #6
yzshen1
lgtm
7 years, 7 months ago (2013-05-23 16:31:47 UTC) #7
sky
LGTM https://codereview.chromium.org/15521002/diff/39001/chrome/browser/pepper_permission_util.cc File chrome/browser/pepper_permission_util.cc (right): https://codereview.chromium.org/15521002/diff/39001/chrome/browser/pepper_permission_util.cc#newcode31 chrome/browser/pepper_permission_util.cc:31: DCHECK(id_hash.length() == base::kSHA1Length); DCHECK_EQ https://codereview.chromium.org/15521002/diff/39001/chrome/browser/pepper_permission_util.cc#newcode49 chrome/browser/pepper_permission_util.cc:49: std::string host ...
7 years, 7 months ago (2013-05-23 21:14:07 UTC) #8
victorhsieh
Thanks! https://codereview.chromium.org/15521002/diff/39001/chrome/browser/pepper_permission_util.cc File chrome/browser/pepper_permission_util.cc (right): https://codereview.chromium.org/15521002/diff/39001/chrome/browser/pepper_permission_util.cc#newcode31 chrome/browser/pepper_permission_util.cc:31: DCHECK(id_hash.length() == base::kSHA1Length); On 2013/05/23 21:14:07, sky wrote: ...
7 years, 7 months ago (2013-05-23 21:39:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/victorhsieh@chromium.org/15521002/45001
7 years, 7 months ago (2013-05-23 21:41:37 UTC) #10
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 7 months ago (2013-05-23 22:30:29 UTC) #11
victorhsieh
@sky, I think it makes sense to add #ifdef here, but would like to confirm ...
7 years, 7 months ago (2013-05-23 22:55:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/victorhsieh@chromium.org/15521002/61001
7 years, 6 months ago (2013-05-29 16:52:08 UTC) #13
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-05-29 17:24:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/victorhsieh@chromium.org/15521002/61001
7 years, 6 months ago (2013-05-29 17:25:43 UTC) #15
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-05-29 17:53:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/victorhsieh@chromium.org/15521002/61001
7 years, 6 months ago (2013-05-29 19:12:56 UTC) #17
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 20:29:41 UTC) #18
Message was sent while issue was closed.
Change committed as 202951

Powered by Google App Engine
This is Rietveld 408576698