| Index: public/platform/modules/push_messaging/WebPushSubscription.h
|
| diff --git a/public/platform/modules/push_messaging/WebPushSubscription.h b/public/platform/modules/push_messaging/WebPushSubscription.h
|
| index 677fd24649fd066055ea0bf1835aad71ac3abf41..699b929030c30baf5d5c66cb20943e14c40185b7 100644
|
| --- a/public/platform/modules/push_messaging/WebPushSubscription.h
|
| +++ b/public/platform/modules/push_messaging/WebPushSubscription.h
|
| @@ -6,26 +6,19 @@
|
| #define WebPushSubscription_h
|
|
|
| #include "public/platform/WebCommon.h"
|
| -#include "public/platform/WebString.h"
|
| #include "public/platform/WebURL.h"
|
| #include "public/platform/WebVector.h"
|
|
|
| namespace blink {
|
|
|
| struct WebPushSubscription {
|
| - // The |endpoint| must be unique for each subscription.
|
| + // The |endpoint| and |curve25519dh| must both be unique for each subscription.
|
| WebPushSubscription(const WebURL& endpoint, const WebVector<unsigned char>& curve25519dh)
|
| : endpoint(endpoint)
|
| , curve25519dh(curve25519dh)
|
| {
|
| }
|
|
|
| - // TODO(peter): Remove this constructor when the embedder doesn't use it anymore.
|
| - explicit WebPushSubscription(const WebURL& endpoint)
|
| - : endpoint(endpoint)
|
| - {
|
| - }
|
| -
|
| WebURL endpoint;
|
| WebVector<unsigned char> curve25519dh;
|
| };
|
|
|