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

Unified Diff: components/nacl/renderer/plugin/temporary_file.h

Issue 1512733003: PNaCl: Use Chrome IPC to talk to the linker process, instead of SRPC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 4 years, 12 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
Index: components/nacl/renderer/plugin/temporary_file.h
diff --git a/components/nacl/renderer/plugin/temporary_file.h b/components/nacl/renderer/plugin/temporary_file.h
index 4941e984149356f6057e5d153368860af0989682..4e4e9afb0f4f28c6a1ad9e2ddf05b441e05bedef 100644
--- a/components/nacl/renderer/plugin/temporary_file.h
+++ b/components/nacl/renderer/plugin/temporary_file.h
@@ -61,6 +61,11 @@ class TempFile {
// valid after TakeFileHandle() is called.
PP_FileHandle TakeFileHandle();
+ // Returns a handle to the file, without transferring ownership of it.
+ // This handle remains valid until the TempFile object is destroyed or
+ // TakeFileHandle() is called.
+ PP_FileHandle GetFileHandle();
+
private:
NACL_DISALLOW_COPY_AND_ASSIGN(TempFile);
« no previous file with comments | « components/nacl/renderer/plugin/service_runtime.cc ('k') | components/nacl/renderer/plugin/temporary_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698