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

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

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
« no previous file with comments | « components/nacl/renderer/plugin/temporary_file.h ('k') | components/nacl/renderer/ppb_nacl_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/plugin/temporary_file.cc
diff --git a/components/nacl/renderer/plugin/temporary_file.cc b/components/nacl/renderer/plugin/temporary_file.cc
index 10502ea6cea2da591cd9f88fdc35c6c892a0f9ac..bd942c5bdeb7d4b6d70943170b9d78177e14c9a9 100644
--- a/components/nacl/renderer/plugin/temporary_file.cc
+++ b/components/nacl/renderer/plugin/temporary_file.cc
@@ -62,7 +62,13 @@ bool TempFile::Reset() {
}
PP_FileHandle TempFile::TakeFileHandle() {
+ DCHECK(file_handle_.IsValid());
return file_handle_.TakePlatformFile();
}
+PP_FileHandle TempFile::GetFileHandle() {
+ DCHECK(file_handle_.IsValid());
+ return file_handle_.GetPlatformFile();
+}
+
} // namespace plugin
« no previous file with comments | « components/nacl/renderer/plugin/temporary_file.h ('k') | components/nacl/renderer/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698