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

Issue 10662006: Add a NaCl-Private interface for opening files in DIR_PNACL_COMPONENT. (Closed)

Created:
8 years, 6 months ago by jvoung (off chromium)
Modified:
8 years, 5 months ago
CC:
chromium-reviews, yzshen+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, piman+watch_chromium.org, native-client-reviews_googlegroups.com, ihf+watch_chromium.org
Visibility:
Public.

Description

Add a NaCl-Private interface for opening files in DIR_PNACL_COMPONENT. This will later be used in the NaCl plugin to grab "llc.nexe", and linker resources for PNaCl directly, instead of using the URL-downloader interface to get these from a chrome extension url. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2365 TEST= pnacl_file_host_unittest (just checks path sanity checks) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=147968

Patch Set 1 #

Patch Set 2 : add windows headers #

Patch Set 3 : rebase #

Patch Set 4 : string util #

Patch Set 5 : shift stuff, cast for win #

Patch Set 6 : header #

Patch Set 7 : fix literals #

Patch Set 8 : rebase #

Patch Set 9 : unneeded include #

Patch Set 10 : rebase #

Patch Set 11 : pragma #

Total comments: 10

Patch Set 12 : address comments and rebase #

Total comments: 4

Patch Set 13 : cleanup #

Patch Set 14 : do not run test when disable_nacl=1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -2 lines) Patch
A chrome/browser/nacl_host/pnacl_file_host.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/nacl_host/pnacl_file_host.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +138 lines, -0 lines 0 comments Download
A chrome/browser/nacl_host/pnacl_file_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +49 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_message_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/renderer/pepper/ppb_nacl_private_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +43 lines, -0 lines 0 comments Download
M ppapi/api/private/finish_writing_these/ppb_nacl_private.idl View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +8 lines, -1 line 0 comments Download
M ppapi/c/private/ppb_nacl_private.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
jvoung (off chromium)
This is a newer version of: http://codereview.chromium.org/9158005/ Sorry, I had lost my old client and ...
8 years, 6 months ago (2012-06-25 23:56:11 UTC) #1
jvoung (off chromium)
On 2012/06/25 23:56:11, jvoung (chromium) wrote: > This is a newer version of: > http://codereview.chromium.org/9158005/ ...
8 years, 5 months ago (2012-06-27 19:52:00 UTC) #2
jvoung (off chromium)
On 2012/06/27 19:52:00, jvoung (chromium) wrote: > On 2012/06/25 23:56:11, jvoung (chromium) wrote: > > ...
8 years, 5 months ago (2012-06-29 19:47:28 UTC) #3
jvoung (off chromium)
On 2012/06/29 19:47:28, jvoung (chromium) wrote: > On 2012/06/27 19:52:00, jvoung (chromium) wrote: > > ...
8 years, 5 months ago (2012-07-10 18:35:14 UTC) #4
sehr
On 2012/07/10 18:35:14, jvoung (chromium) wrote: > On 2012/06/29 19:47:28, jvoung (chromium) wrote: > > ...
8 years, 5 months ago (2012-07-11 16:35:35 UTC) #5
jvoung (off chromium)
Could you take a look then, Brett? Thanks!
8 years, 5 months ago (2012-07-11 23:18:04 UTC) #6
brettw
http://codereview.chromium.org/10662006/diff/17001/chrome/browser/nacl_host/pnacl_file_host.cc File chrome/browser/nacl_host/pnacl_file_host.cc (right): http://codereview.chromium.org/10662006/diff/17001/chrome/browser/nacl_host/pnacl_file_host.cc#newcode47 chrome/browser/nacl_host/pnacl_file_host.cc:47: std::string filename, Nit: const string& http://codereview.chromium.org/10662006/diff/17001/chrome/browser/nacl_host/pnacl_file_host.cc#newcode99 chrome/browser/nacl_host/pnacl_file_host.cc:99: // Do ...
8 years, 5 months ago (2012-07-12 19:55:16 UTC) #7
jvoung (off chromium)
http://codereview.chromium.org/10662006/diff/17001/chrome/browser/nacl_host/pnacl_file_host.cc File chrome/browser/nacl_host/pnacl_file_host.cc (right): http://codereview.chromium.org/10662006/diff/17001/chrome/browser/nacl_host/pnacl_file_host.cc#newcode47 chrome/browser/nacl_host/pnacl_file_host.cc:47: std::string filename, On 2012/07/12 19:55:16, brettw wrote: > Nit: ...
8 years, 5 months ago (2012-07-12 23:06:09 UTC) #8
jvoung (off chromium)
ping On 2012/07/12 23:06:09, jvoung (chromium) wrote: > http://codereview.chromium.org/10662006/diff/17001/chrome/browser/nacl_host/pnacl_file_host.cc > File chrome/browser/nacl_host/pnacl_file_host.cc (right): > > ...
8 years, 5 months ago (2012-07-19 22:33:47 UTC) #9
jschuh
Oops. We went through this in person and I'm okay with it from a security ...
8 years, 5 months ago (2012-07-19 22:35:45 UTC) #10
jvoung (off chromium)
np thanks -- brettw, is the rest okay?
8 years, 5 months ago (2012-07-20 18:10:32 UTC) #11
brettw
lgtm http://codereview.chromium.org/10662006/diff/17003/chrome/browser/nacl_host/pnacl_file_host_unittest.cc File chrome/browser/nacl_host/pnacl_file_host_unittest.cc (right): http://codereview.chromium.org/10662006/diff/17003/chrome/browser/nacl_host/pnacl_file_host_unittest.cc#newcode18 chrome/browser/nacl_host/pnacl_file_host_unittest.cc:18: class PnaclFileHostTest : public ::testing::Test { Since this ...
8 years, 5 months ago (2012-07-23 18:09:02 UTC) #12
jvoung (off chromium)
Thanks! http://codereview.chromium.org/10662006/diff/17003/chrome/browser/nacl_host/pnacl_file_host_unittest.cc File chrome/browser/nacl_host/pnacl_file_host_unittest.cc (right): http://codereview.chromium.org/10662006/diff/17003/chrome/browser/nacl_host/pnacl_file_host_unittest.cc#newcode18 chrome/browser/nacl_host/pnacl_file_host_unittest.cc:18: class PnaclFileHostTest : public ::testing::Test { On 2012/07/23 ...
8 years, 5 months ago (2012-07-23 19:59:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jvoung@chromium.org/10662006/33001
8 years, 5 months ago (2012-07-23 19:59:34 UTC) #14
commit-bot: I haz the power
Presubmit check for 10662006-33001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-23 19:59:58 UTC) #15
brettw
8 years, 5 months ago (2012-07-23 20:05:08 UTC) #16
I think you can ignore this presubmit check, there's no IDL for this interface.

Powered by Google App Engine
This is Rietveld 408576698