1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WebPushSubscription_h
6 #define WebPushSubscription_h
8 #include "public/platform/WebCommon.h"
9 #include "public/platform/WebURL.h"
10 #include "public/platform/WebVector.h"
14 struct WebPushSubscription
{
15 // The |endpoint| and |curve25519dh| must both be unique for each subscription.
16 WebPushSubscription(const WebURL
& endpoint
, const WebVector
<unsigned char>& curve25519dh
)
18 , curve25519dh(curve25519dh
)
23 WebVector
<unsigned char> curve25519dh
;
28 #endif // WebPushSubscription_h