Chromium Code Reviews| Index: public/platform/modules/notifications/WebNotificationData.h |
| diff --git a/public/platform/modules/notifications/WebNotificationData.h b/public/platform/modules/notifications/WebNotificationData.h |
| index 537ed26aa7edaf5b6c892db2cc01cd45f72cf586..e979d385c1fce807089a9853ef6dfb6498e46b11 100644 |
| --- a/public/platform/modules/notifications/WebNotificationData.h |
| +++ b/public/platform/modules/notifications/WebNotificationData.h |
| @@ -7,6 +7,7 @@ |
| #include "public/platform/WebString.h" |
| #include "public/platform/WebURL.h" |
| +#include "public/web/WebSerializedScriptValue.h" |
| namespace blink { |
| @@ -35,7 +36,7 @@ struct WebNotificationData { |
| { |
| } |
| - WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon, bool silent) |
| + WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon, bool silent, const WebSerializedScriptValue& data) |
|
Peter Beverloo
2015/03/10 23:34:27
I'm fairly sure that this will break Chromium. You
Sanghyun Park
2015/03/11 10:59:52
I know that this constructor is temporary.
This cl
|
| : title(title) |
| , direction(direction) |
| , lang(lang) |
| @@ -43,6 +44,7 @@ struct WebNotificationData { |
| , tag(tag) |
| , icon(icon) |
| , silent(silent) |
| + , data(data) |
| { |
| } |
| @@ -53,6 +55,7 @@ struct WebNotificationData { |
| WebString tag; |
| WebURL icon; |
| bool silent; |
| + WebSerializedScriptValue data; |
| }; |
| } // namespace blink |