|
Add an interface for nacl to create delete-on-close temp files,
to be used by pnacl for scratch files during compilation and linking.
This is in-lieu of the current use of pepper temp files, which are not
allowed in incognito mode, and are more cumbersome to clean up on surfaway.
Use this interface for the .o file in pnacl coordinator. The .nexe still uses
pepper temp files, since we haven't moved that over for caching yet.
We will clean that up later.
Also do some crude quota enforcement for these files, using the
existing reverse service interface.
BUG= http://code.google.com/p/nativeclient/issues/detail?id=2683
TEST= none -- pnacl compilation still works
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148964
Total comments: 1
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+396 lines, -116 lines) |
Patch |
 |
M |
chrome/browser/nacl_host/pnacl_file_host.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/nacl_host/pnacl_file_host.cc
|
View
|
1
2
|
2 chunks |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/chrome_render_message_filter.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/renderer_host/chrome_render_message_filter.cc
|
View
|
1
2
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/render_messages.h
|
View
|
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/renderer/pepper/ppb_nacl_private_impl.cc
|
View
|
1
2
|
5 chunks |
+25 lines, -21 lines |
0 comments
|
Download
|
 |
M |
ppapi/api/private/finish_writing_these/ppb_nacl_private.idl
|
View
|
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/c/private/pp_file_handle.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/c/private/ppb_nacl_private.h
|
View
|
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/build.scons
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/local_temp_file.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/local_temp_file.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/plugin.h
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/plugin.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/pnacl_coordinator.h
|
View
|
1
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/pnacl_coordinator.cc
|
View
|
1
2
|
4 chunks |
+6 lines, -44 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/pnacl_streaming_translate_thread.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/pnacl_streaming_translate_thread.cc
|
View
|
1
2
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/pnacl_translate_thread.cc
|
View
|
|
2 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/service_runtime.h
|
View
|
1
2
|
4 chunks |
+22 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ppapi/native_client/src/trusted/plugin/service_runtime.cc
|
View
|
1
2
|
6 chunks |
+63 lines, -22 lines |
0 comments
|
Download
|
 |
A |
ppapi/native_client/src/trusted/plugin/temporary_file.h
|
View
|
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ppapi/native_client/src/trusted/plugin/temporary_file.cc
|
View
|
|
1 chunk |
+85 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/ppapi_sources.gypi
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|