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

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 + cleanup Created 5 years 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 d87f42cf69292b039d4e6f9a0c48d3c480b38e48..1dacd94f1826bda20b1038ca4fac95bffd64303d 100644
--- a/components/nacl/renderer/plugin/temporary_file.h
+++ b/components/nacl/renderer/plugin/temporary_file.h
@@ -58,6 +58,11 @@ class TempFile {
// valid after TakeFileHandle() is called.
PP_FileHandle TakeFileHandle();
+ // Returns a handle to the file, without transferring ownership of it.
+ // This handle remain valid until the TempFile object is destroyed or
bbudge 2015/12/16 20:30:06 nit: remains
Mark Seaborn 2015/12/17 06:09:56 Done.
+ // TakeFileHandle() is called.
+ PP_FileHandle GetFileHandle();
+
private:
NACL_DISALLOW_COPY_AND_ASSIGN(TempFile);

Powered by Google App Engine
This is Rietveld 408576698