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

Unified Diff: content/public/browser/message_port_provider.h

Issue 921013002: Optionally have MessagePort pass data as base::Value, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@n-c-move-v8-value-converter
Patch Set: Update singly-included comment 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
« no previous file with comments | « content/public/browser/message_port_delegate.h ('k') | content/public/common/message_port_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/message_port_provider.h
diff --git a/content/public/browser/message_port_provider.h b/content/public/browser/message_port_provider.h
index 8a725de00b59e8ded8c0248fe5da45cdb75912f8..c9b657456753e8cfd63159a440b1eafa41858f8a 100644
--- a/content/public/browser/message_port_provider.h
+++ b/content/public/browser/message_port_provider.h
@@ -15,6 +15,7 @@
namespace content {
class MessagePortDelegate;
+struct MessagePortMessage;
class WebContents;
// An interface consisting of methods that can be called to use Message ports.
@@ -44,7 +45,7 @@ class CONTENT_EXPORT MessagePortProvider {
// Posts a MessageEvent to a message port associated with a message channel.
static void PostMessageToPort(int sender_port_id,
- const base::string16& data,
+ const MessagePortMessage& message,
const std::vector<int>& sent_ports);
// Close the message port. Should be called on IO thread.
« no previous file with comments | « content/public/browser/message_port_delegate.h ('k') | content/public/common/message_port_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698