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

Unified Diff: ipc/ipc_platform_file.h

Issue 7044095: Hooking MHTML generation to the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced Created 9 years, 6 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 | « ipc/ipc.gypi ('k') | ipc/ipc_platform_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_platform_file.h
diff --git a/ipc/ipc_platform_file.h b/ipc/ipc_platform_file.h
index e08b8a5f7a71fe54a911865028b30c89cdb04ca3..ac27abca340484560e3b47d19759ddeeb0363f45 100644
--- a/ipc/ipc_platform_file.h
+++ b/ipc/ipc_platform_file.h
@@ -9,6 +9,7 @@
#include "base/basictypes.h"
#include "base/platform_file.h"
+#include "base/process.h"
#if defined(OS_POSIX)
#include "base/file_descriptor_posix.h"
@@ -39,6 +40,11 @@ inline base::PlatformFile PlatformFileForTransitToPlatformFile(
#endif
}
+// Returns a file handle equivalent to |file| that can be used in |process|.
+PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile file,
+ base::ProcessHandle process,
+ bool close_source_handle);
+
} // namespace IPC
#endif // IPC_IPC_PLATFORM_FILE_H_
« no previous file with comments | « ipc/ipc.gypi ('k') | ipc/ipc_platform_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698