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

Unified Diff: chrome/common/service_process_util_linux.cc

Issue 2444363003: Remove uses of ChannelHandle for service processes. (Closed)
Patch Set: Created 4 years, 2 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 | « chrome/common/service_process_util.cc ('k') | chrome/common/service_process_util_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/service_process_util_linux.cc
diff --git a/chrome/common/service_process_util_linux.cc b/chrome/common/service_process_util_linux.cc
index 7d5ef7ea62bd59e0b69cce42d0d3c7a7b7dd827b..93206d5abdc1c78789b25dd70682a9c08ac6c0ec 100644
--- a/chrome/common/service_process_util_linux.cc
+++ b/chrome/common/service_process_util_linux.cc
@@ -51,12 +51,12 @@ bool ForceServiceProcessShutdown(const std::string& version,
// Gets the name of the service process IPC channel.
// Returns an absolute path as required.
-IPC::ChannelHandle GetServiceProcessChannel() {
+mojo::edk::NamedPlatformHandle GetServiceProcessChannel() {
base::FilePath temp_dir;
PathService::Get(base::DIR_TEMP, &temp_dir);
std::string pipe_name = GetServiceProcessScopedVersionedName("_service_ipc");
std::string pipe_path = temp_dir.Append(pipe_name).value();
- return pipe_path;
+ return mojo::edk::NamedPlatformHandle(pipe_path);
}
« no previous file with comments | « chrome/common/service_process_util.cc ('k') | chrome/common/service_process_util_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698