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

Unified Diff: content/common/view_messages.h

Issue 332693004: Add a content API for postMessage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed mnaganov's review Created 6 years, 5 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index d3e5f33228ba7fee0dbadce1fea0d61b555ac008..2dfa30ee37d8a34bb905d248e59d07a0e11480d1 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -485,6 +485,10 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params)
+ // Whether the data format is supplied as serialized script value, or as
+ // a simple string. If it is a raw string, we convert from string to a
nasko 2014/07/16 08:06:15 nit: s/we convert/must be converted/
sgurun-gerrit only 2014/07/16 20:35:15 Done.
+ // WebSerializedScriptValue in renderer.
+ IPC_STRUCT_MEMBER(bool, is_data_raw_string)
nasko 2014/07/16 08:06:15 nit: Empty line between struct members.
sgurun-gerrit only 2014/07/16 20:35:15 Done.
// The serialized script value.
IPC_STRUCT_MEMBER(base::string16, data)

Powered by Google App Engine
This is Rietveld 408576698