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

Unified Diff: webkit/glue/web_intent_data.h

Issue 9692017: An internal intents dispatcher useful for initiating an intent from the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve comments. Created 8 years, 9 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: webkit/glue/web_intent_data.h
diff --git a/webkit/glue/web_intent_data.h b/webkit/glue/web_intent_data.h
index 540cd159a30eae7c275757d45218c92e948f1add..1eaf9e14ae620471c7286b6208f405006c34096d 100644
--- a/webkit/glue/web_intent_data.h
+++ b/webkit/glue/web_intent_data.h
@@ -24,8 +24,20 @@ struct WEBKIT_GLUE_EXPORT WebIntentData {
// SerializedScriptObject.
string16 data;
+ // String payload data.
+ string16 unserialized_data;
+
+ enum DataType {
+ SERIALIZED = 0,
James Hawkins 2012/03/13 00:59:02 Document DataType and the values.
Greg Billock 2012/03/13 17:42:38 Done.
+ UNSERIALIZED = 1
+ };
+ DataType data_type;
+
WebIntentData();
WebIntentData(const WebKit::WebIntent& intent);
+ WebIntentData(const string16& action_in,
+ const string16& type_in,
+ const string16& unserialized_data_in);
~WebIntentData();
};

Powered by Google App Engine
This is Rietveld 408576698