| 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 4e53d754976b1e6e04631e23bcfc6f992e79cf6a..ec1f8eb3be2b905dafbbf6e49187588dc39db653 100644
|
| --- a/content/renderer/push_messaging/push_messaging_dispatcher.cc
|
| +++ b/content/renderer/push_messaging/push_messaging_dispatcher.cc
|
| @@ -84,13 +84,14 @@ void PushMessagingDispatcher::DoSubscribe(
|
|
|
| void PushMessagingDispatcher::OnSubscribeFromDocumentSuccess(
|
| int32_t request_id,
|
| - const GURL& endpoint) {
|
| + const GURL& endpoint,
|
| + const std::vector<uint8_t>& curve25519dh) {
|
| blink::WebPushSubscriptionCallbacks* callbacks =
|
| subscription_callbacks_.Lookup(request_id);
|
| DCHECK(callbacks);
|
|
|
| scoped_ptr<blink::WebPushSubscription> subscription(
|
| - new blink::WebPushSubscription(endpoint));
|
| + new blink::WebPushSubscription(endpoint, curve25519dh));
|
| callbacks->onSuccess(subscription.release());
|
|
|
| subscription_callbacks_.Remove(request_id);
|
|
|