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

Unified Diff: content/public/common/message_port_types.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
« no previous file with comments | « content/public/browser/message_port_provider.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/message_port_types.h
diff --git a/content/public/common/message_port_types.h b/content/public/common/message_port_types.h
index 961afe22a5e8d3fad5d4b063c69a3d6fca6bb446..cf53d088dc49102189a60105fcd491f723626a2f 100644
--- a/content/public/common/message_port_types.h
+++ b/content/public/common/message_port_types.h
@@ -11,6 +11,7 @@
#include "base/strings/string16.h"
#include "base/values.h"
#include "content/common/content_export.h"
+#include "ipc/ipc_message.h"
namespace content {
@@ -37,6 +38,11 @@ struct CONTENT_EXPORT MessagePortMessage {
base::ListValue message_as_value;
};
+struct TransferredMessagePort {
+ int id = MSG_ROUTING_NONE;
+ bool send_messages_as_values = false;
+};
+
} // namespace content
#endif // CONTENT_PUBLIC_COMMON_MESSAGE_PORT_TYPES_H_
« no previous file with comments | « content/public/browser/message_port_provider.h ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698