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

Unified Diff: ipc/ipc_platform_file.cc

Issue 1858973002: ipc: Rename GetFileHandleForProcess->GetPlatformFileForTransit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@temp16_ipc_pfft_implementation
Patch Set: Comments from tsepez. Created 4 years, 8 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: ipc/ipc_platform_file.cc
diff --git a/ipc/ipc_platform_file.cc b/ipc/ipc_platform_file.cc
index c8fde86f1e4564403290da39c2abf6cb880e48bc..2dcc9aa156b3e995d3198289a92c7e320315bdfb 100644
--- a/ipc/ipc_platform_file.cc
+++ b/ipc/ipc_platform_file.cc
@@ -11,9 +11,8 @@
namespace IPC {
-PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile handle,
- base::ProcessHandle process,
- bool close_source_handle) {
+PlatformFileForTransit GetPlatformFileForTransit(base::PlatformFile handle,
+ bool close_source_handle) {
#if defined(OS_WIN)
HANDLE raw_handle = INVALID_HANDLE_VALUE;
DWORD options = DUPLICATE_SAME_ACCESS;
@@ -47,7 +46,7 @@ PlatformFileForTransit GetFileHandleForProcess(base::PlatformFile handle,
PlatformFileForTransit TakeFileHandleForProcess(base::File file,
base::ProcessHandle process) {
- return GetFileHandleForProcess(file.TakePlatformFile(), process, true);
+ return GetPlatformFileForTransit(file.TakePlatformFile(), true);
}
} // namespace IPC

Powered by Google App Engine
This is Rietveld 408576698