| Index: public/platform/WebPushRegistration.h
|
| diff --git a/public/platform/WebPushRegistration.h b/public/platform/WebPushRegistration.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..be34c980b9e8a5f1dc3d2b458e8588eed1831414
|
| --- /dev/null
|
| +++ b/public/platform/WebPushRegistration.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef WebPushRegistration_h
|
| +#define WebPushRegistration_h
|
| +
|
| +#include "WebString.h"
|
| +
|
| +namespace blink {
|
| +
|
| +struct WebPushRegistration {
|
| + WebPushRegistration(const WebString& endpoint, const WebString& registrationId, const WebString& channelName)
|
| + : endpoint(endpoint)
|
| + , registrationId(registrationId)
|
| + , channelName(channelName)
|
| + {
|
| + }
|
| +
|
| + WebString endpoint;
|
| + WebString registrationId;
|
| + WebString channelName;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // WebPushRegistration_h
|
|
|