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

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 + 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.cc
diff --git a/components/nacl/renderer/plugin/temporary_file.cc b/components/nacl/renderer/plugin/temporary_file.cc
index 6a79e771129cd046cd8c3e528e8b020380074b48..babc33ca1a4a57e12e9a13728fe0a6246db14e47 100644
--- a/components/nacl/renderer/plugin/temporary_file.cc
+++ b/components/nacl/renderer/plugin/temporary_file.cc
@@ -64,4 +64,8 @@ PP_FileHandle TempFile::TakeFileHandle() {
return file_handle_.TakePlatformFile();
}
+PP_FileHandle TempFile::GetFileHandle() {
bbudge 2015/12/16 20:30:06 DCHECK(file_handle_.IsValid()); ?
Mark Seaborn 2015/12/17 06:09:56 OK. How about I put the same into TakeFileHandle(
bbudge 2015/12/17 19:10:21 sgtm
+ return file_handle_.GetPlatformFile();
+}
+
} // namespace plugin

Powered by Google App Engine
This is Rietveld 408576698