Index: webkit/glue/web_intent_data.cc |
diff --git a/webkit/glue/web_intent_data.cc b/webkit/glue/web_intent_data.cc |
index 663b9be42fa70056fcf0bf5de3db04750883037d..c71d7bd2969349143fef343e41a59dba8896b979 100644 |
--- a/webkit/glue/web_intent_data.cc |
+++ b/webkit/glue/web_intent_data.cc |
@@ -9,7 +9,8 @@ |
namespace webkit_glue { |
WebIntentData::WebIntentData() |
- : data_type(SERIALIZED) { |
+ : blob_length(0), |
+ data_type(SERIALIZED) { |
} |
WebIntentData::~WebIntentData() { |
@@ -19,6 +20,7 @@ WebIntentData::WebIntentData(const WebKit::WebIntent& intent) |
: action(intent.action()), |
type(intent.type()), |
data(intent.data()), |
+ blob_length(0), |
data_type(SERIALIZED) { |
} |
@@ -28,7 +30,19 @@ WebIntentData::WebIntentData(const string16& action_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 std::string& blob_file_in, |
+ int64 blob_length_in) |
+ : action(action_in), |
+ type(type_in), |
+ blob_file(blob_file_in), |
+ blob_length(blob_length_in), |
+ data_type(BLOB) { |
+} |
+ |
} // namespace webkit_glue |