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

Unified Diff: ppapi/proxy/ppapi_proxy_test.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
« no previous file with comments | « ipc/ipc_platform_file.cc ('k') | remoting/host/daemon_process_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppapi_proxy_test.cc
diff --git a/ppapi/proxy/ppapi_proxy_test.cc b/ppapi/proxy/ppapi_proxy_test.cc
index 5ff1a4e8186cf2dd3fbad78223a9a5a55cbda18d..88bf5dba70a5ece40e3dd24c6c07217eac43c4c4 100644
--- a/ppapi/proxy/ppapi_proxy_test.cc
+++ b/ppapi/proxy/ppapi_proxy_test.cc
@@ -253,9 +253,8 @@ PluginProxyTestHarness::PluginDelegateMock::ShareHandleWithRemote(
base::PlatformFile handle,
base::ProcessId /* remote_pid */,
bool should_close_source) {
- return IPC::GetFileHandleForProcess(handle,
- base::GetCurrentProcessHandle(),
- should_close_source);
+ return IPC::GetPlatformFileForTransit(handle,
+ should_close_source);
Mark Seaborn 2016/04/05 19:40:38 Nit: fits on previous line?
}
base::SharedMemoryHandle
@@ -491,9 +490,8 @@ HostProxyTestHarness::DelegateMock::ShareHandleWithRemote(
base::PlatformFile handle,
base::ProcessId /* remote_pid */,
bool should_close_source) {
- return IPC::GetFileHandleForProcess(handle,
- base::GetCurrentProcessHandle(),
- should_close_source);
+ return IPC::GetPlatformFileForTransit(handle,
+ should_close_source);
}
base::SharedMemoryHandle
« no previous file with comments | « ipc/ipc_platform_file.cc ('k') | remoting/host/daemon_process_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698