| Index: content/renderer/push_messaging/push_messaging_dispatcher.cc
|
| diff --git a/content/renderer/push_messaging/push_messaging_dispatcher.cc b/content/renderer/push_messaging/push_messaging_dispatcher.cc
|
| index 471024e90a78c3c6359bb34f8704cf2e02e44543..2037b149f4990e4c2a584bd5ad0a423a30a5554a 100644
|
| --- a/content/renderer/push_messaging/push_messaging_dispatcher.cc
|
| +++ b/content/renderer/push_messaging/push_messaging_dispatcher.cc
|
| @@ -114,14 +114,16 @@ void PushMessagingDispatcher::DoSubscribe(
|
| void PushMessagingDispatcher::OnSubscribeFromDocumentSuccess(
|
| int32_t request_id,
|
| const GURL& endpoint,
|
| + const PushSubscriptionOptions& options,
|
| const std::vector<uint8_t>& p256dh,
|
| const std::vector<uint8_t>& auth) {
|
| blink::WebPushSubscriptionCallbacks* callbacks =
|
| subscription_callbacks_.Lookup(request_id);
|
| DCHECK(callbacks);
|
|
|
| - callbacks->onSuccess(
|
| - base::WrapUnique(new blink::WebPushSubscription(endpoint, p256dh, auth)));
|
| + callbacks->onSuccess(base::WrapUnique(new blink::WebPushSubscription(
|
| + endpoint, options.user_visible_only,
|
| + blink::WebString::fromLatin1(options.sender_info), p256dh, auth)));
|
|
|
| subscription_callbacks_.Remove(request_id);
|
| }
|
|
|