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

Unified Diff: content/browser/navigator_connect/navigator_connect_dispatcher_host.cc

Issue 944443003: Step two of optionally sending messages to/from message ports as base::Value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-c-message-as-values-take2
Patch Set: use auto where it makes sense Created 5 years, 10 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: content/browser/navigator_connect/navigator_connect_dispatcher_host.cc
diff --git a/content/browser/navigator_connect/navigator_connect_dispatcher_host.cc b/content/browser/navigator_connect/navigator_connect_dispatcher_host.cc
index d3e0a2d00f4f528bac8710c6f8bcf4f38d1a9900..daa46ba7f18b2b5b0cb284f6967c3e9478b53313 100644
--- a/content/browser/navigator_connect/navigator_connect_dispatcher_host.cc
+++ b/content/browser/navigator_connect/navigator_connect_dispatcher_host.cc
@@ -48,14 +48,15 @@ void NavigatorConnectDispatcherHost::OnConnect(
thread_id, request_id));
}
-void NavigatorConnectDispatcherHost::OnConnectResult(int thread_id,
- int request_id,
- int message_port_id,
- int message_port_route_id,
- bool accept_connection) {
+void NavigatorConnectDispatcherHost::OnConnectResult(
+ int thread_id,
+ int request_id,
+ const TransferredMessagePort& message_port,
+ int message_port_route_id,
+ bool accept_connection) {
DCHECK_CURRENTLY_ON(BrowserThread::IO);
Send(new NavigatorConnectMsg_ConnectResult(
- thread_id, request_id, message_port_id, message_port_route_id,
+ thread_id, request_id, message_port, message_port_route_id,
accept_connection));
}

Powered by Google App Engine
This is Rietveld 408576698