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

Unified Diff: content/child/navigator_connect/navigator_connect_provider.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/child/navigator_connect/navigator_connect_provider.h
diff --git a/content/child/navigator_connect/navigator_connect_provider.h b/content/child/navigator_connect/navigator_connect_provider.h
index 8ef6d17d8bd349908fa928c9e104b61309d71398..f21b0c4a97eee1fb8e9c62a204f43621dad2b3c6 100644
--- a/content/child/navigator_connect/navigator_connect_provider.h
+++ b/content/child/navigator_connect/navigator_connect_provider.h
@@ -28,6 +28,7 @@ class Message;
namespace content {
class ThreadSafeSender;
+struct TransferredMessagePort;
// Main entry point for the navigator.connect API in a child process. This
// implements the blink API and passes connect calls on to the browser process.
@@ -60,7 +61,7 @@ class NavigatorConnectProvider : public blink::WebNavigatorConnectProvider,
private:
void OnConnectResult(int thread_id,
int request_id,
- int message_port_id,
+ const TransferredMessagePort& message_port,
int message_port_route_id,
bool allow_connect);
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/child/navigator_connect/navigator_connect_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698