summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/web_intent_service_data.cc11
-rw-r--r--webkit/glue/web_intent_service_data.h4
2 files changed, 15 insertions, 0 deletions
diff --git a/webkit/glue/web_intent_service_data.cc b/webkit/glue/web_intent_service_data.cc
index 67849db..09933c5 100644
--- a/webkit/glue/web_intent_service_data.cc
+++ b/webkit/glue/web_intent_service_data.cc
@@ -11,6 +11,17 @@ WebIntentServiceData::WebIntentServiceData()
: disposition(WebIntentServiceData::DISPOSITION_WINDOW) {
}
+WebIntentServiceData::WebIntentServiceData(const GURL& svc_url,
+ const string16& svc_action,
+ const string16& svc_type,
+ const string16& svc_title)
+ : service_url(svc_url),
+ action(svc_action),
+ type(svc_type),
+ title(svc_title),
+ disposition(WebIntentServiceData::DISPOSITION_WINDOW) {
+}
+
WebIntentServiceData::~WebIntentServiceData() {}
bool WebIntentServiceData::operator==(const WebIntentServiceData& other) const {
diff --git a/webkit/glue/web_intent_service_data.h b/webkit/glue/web_intent_service_data.h
index aa42256..532aa03 100644
--- a/webkit/glue/web_intent_service_data.h
+++ b/webkit/glue/web_intent_service_data.h
@@ -19,6 +19,10 @@ struct WebIntentServiceData {
};
WebIntentServiceData();
+ WebIntentServiceData(const GURL& service_url,
+ const string16& action,
+ const string16& type,
+ const string16& title);
~WebIntentServiceData();
bool operator==(const WebIntentServiceData& other) const;