ipc: Rename GetFileHandleForProcess->GetPlatformFileForTransit.

This CL has no intended behavior change. This CL also removes the now
unnecessary parameter |process|.

BUG=493414

Review URL: https://codereview.chromium.org/1858973002

Cr-Commit-Position: refs/heads/master@{#385512}
diff --git a/ipc/ipc_platform_file.cc b/ipc/ipc_platform_file.cc
index c8fde86f..2dcc9aa 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 TakeFileHandleForProcess(base::File file,
                                                 base::ProcessHandle process) {
-  return GetFileHandleForProcess(file.TakePlatformFile(), process, true);
+  return GetPlatformFileForTransit(file.TakePlatformFile(), true);
 }
 
 }  // namespace IPC