| Index: webkit/glue/web_intent_data.cc
|
| diff --git a/webkit/glue/web_intent_data.cc b/webkit/glue/web_intent_data.cc
|
| index 7b3406a3e329cfe7cee7614ac11d1d9f57a4cc73..3b2097ba52ca23a47b85183de7dae06287add359 100644
|
| --- a/webkit/glue/web_intent_data.cc
|
| +++ b/webkit/glue/web_intent_data.cc
|
| @@ -17,7 +17,30 @@ WebIntentData::~WebIntentData() {
|
| WebIntentData::WebIntentData(const WebKit::WebIntent& intent)
|
| : action(intent.action()),
|
| type(intent.type()),
|
| - data(intent.data()) {
|
| + data(intent.data()),
|
| + blob_length(0),
|
| + data_type(SERIALIZED) {
|
| +}
|
| +
|
| +WebIntentData::WebIntentData(const string16& action_in,
|
| + const string16& type_in,
|
| + const string16& unserialized_data_in)
|
| + : action(action_in),
|
| + type(type_in),
|
| + unserialized_data(unserialized_data_in),
|
| + blob_length(0),
|
| + data_type(UNSERIALIZED) {
|
| +}
|
| +
|
| +WebIntentData::WebIntentData(const string16& action_in,
|
| + const string16& type_in,
|
| + const string16& blob_url_in,
|
| + int blob_length_in)
|
| + : action(action_in),
|
| + type(type_in),
|
| + blob_url(blob_url_in),
|
| + blob_length(blob_length_in),
|
| + data_type(BLOB) {
|
| }
|
|
|
| } // namespace webkit_glue
|
|
|