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

Unified Diff: content/public/browser/message_port_delegate.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/content_common.gypi ('k') | content/public/browser/message_port_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/message_port_delegate.h
diff --git a/content/public/browser/message_port_delegate.h b/content/public/browser/message_port_delegate.h
index df9130a06448ae71c2a2fa9bc77982377808ab93..7b89e4db210e2ce03cdf5e329b553062c51c5881 100644
--- a/content/public/browser/message_port_delegate.h
+++ b/content/public/browser/message_port_delegate.h
@@ -16,6 +16,7 @@
#endif
namespace content {
+struct MessagePortMessage;
// Delegate used by MessagePortService to send messages to message ports to the
// correct renderer. Delegates are responsible for managing their own lifetime,
@@ -26,7 +27,7 @@ class CONTENT_EXPORT MessagePortDelegate {
// Sends a message to the given route. Implementations are responsible for
// updating MessagePortService with new routes for the sent message ports.
virtual void SendMessage(int route_id,
- const base::string16& message,
+ const MessagePortMessage& message,
const std::vector<int>& sent_message_port_ids) = 0;
// Requests messages to the given route to be queued.
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/message_port_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698