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

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

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.h
diff --git a/content/browser/navigator_connect/navigator_connect_dispatcher_host.h b/content/browser/navigator_connect/navigator_connect_dispatcher_host.h
index 6f22e61013af7dd4728562480f0b881a532f19c6..614382eac2f5edd0926c81b59555360400450a25 100644
--- a/content/browser/navigator_connect/navigator_connect_dispatcher_host.h
+++ b/content/browser/navigator_connect/navigator_connect_dispatcher_host.h
@@ -12,8 +12,9 @@ class GURL;
namespace content {
class MessagePortMessageFilter;
-struct NavigatorConnectClient;
class NavigatorConnectContextImpl;
+struct NavigatorConnectClient;
+struct TransferredMessagePort;
// Receives navigator.connect connection attempts from a child process.
// Attempts to find a service that serves the URL the connection is made to
@@ -45,7 +46,7 @@ class NavigatorConnectDispatcherHost : public BrowserMessageFilter {
// connection event.
void OnConnectResult(int thread_id,
int request_id,
- int message_port_id,
+ const TransferredMessagePort& message_port,
int message_port_route_id,
bool accept_connection);

Powered by Google App Engine
This is Rietveld 408576698