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

Unified Diff: mojo/edk/embedder/pending_process_connection.cc

Issue 2738853002: Connections now take a ConnectionParams instead of a pipe handle. (Closed)
Patch Set: Fix Win release build. Created 3 years, 9 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 | « mojo/edk/embedder/pending_process_connection.h ('k') | mojo/edk/system/broker_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/embedder/pending_process_connection.cc
diff --git a/mojo/edk/embedder/pending_process_connection.cc b/mojo/edk/embedder/pending_process_connection.cc
index 8ab58727931f98a93f77735ac6eb37b654ada07b..d6be76e81f3910c66ecb5434abf703c4e85092c0 100644
--- a/mojo/edk/embedder/pending_process_connection.cc
+++ b/mojo/edk/embedder/pending_process_connection.cc
@@ -33,7 +33,7 @@ ScopedMessagePipeHandle PendingProcessConnection::CreateMessagePipe(
void PendingProcessConnection::Connect(
base::ProcessHandle process,
- ScopedPlatformHandle channel,
+ ConnectionParams connection_params,
const ProcessErrorCallback& error_callback) {
// It's now safe to avoid cleanup in the destructor, as the lifetime of any
// associated resources is effectively bound to the |channel| passed to
@@ -42,8 +42,8 @@ void PendingProcessConnection::Connect(
connected_ = true;
DCHECK(internal::g_core);
- internal::g_core->AddChild(process, std::move(channel), process_token_,
- error_callback);
+ internal::g_core->AddChild(process, std::move(connection_params),
+ process_token_, error_callback);
}
} // namespace edk
« no previous file with comments | « mojo/edk/embedder/pending_process_connection.h ('k') | mojo/edk/system/broker_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698