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

Unified Diff: chrome/browser/nacl_host/pnacl_file_host.h

Issue 10815080: Add an interface for nacl to create delete-on-close temp files, (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert buildbot hack Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/nacl_host/pnacl_file_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/nacl_host/pnacl_file_host.h
diff --git a/chrome/browser/nacl_host/pnacl_file_host.h b/chrome/browser/nacl_host/pnacl_file_host.h
index 7a60a3c6d2b1821735bf89b63a70db029cfc232c..71875610dd4d80e19fe3c78cd99aa06bdb02e46b 100644
--- a/chrome/browser/nacl_host/pnacl_file_host.h
+++ b/chrome/browser/nacl_host/pnacl_file_host.h
@@ -28,6 +28,12 @@ void GetReadonlyPnaclFd(ChromeRenderMessageFilter* chrome_render_message_filter,
bool PnaclCanOpenFile(const std::string& filename,
FilePath* file_to_open);
+// Creates a temporary file that will be deleted when the last handle
+// is closed, or earlier.
+void CreateTemporaryFile(
+ ChromeRenderMessageFilter* chrome_render_message_filter,
+ IPC::Message* reply_msg);
+
} // namespace pnacl_file_host
#endif // CHROME_BROWSER_NACL_HOST_PNACL_FILE_HOST_H_
« no previous file with comments | « no previous file | chrome/browser/nacl_host/pnacl_file_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698