| Index: public/platform/WebPushSubscription.h
|
| diff --git a/public/platform/WebPushRegistration.h b/public/platform/WebPushSubscription.h
|
| similarity index 41%
|
| copy from public/platform/WebPushRegistration.h
|
| copy to public/platform/WebPushSubscription.h
|
| index 18b6ce1e08fd6f7b366ac4b98e8bd0e45c585134..d7f196cac47f9a5df692d3b1dd025774d4b21422 100644
|
| --- a/public/platform/WebPushRegistration.h
|
| +++ b/public/platform/WebPushSubscription.h
|
| @@ -1,25 +1,25 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Copyright 2015 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
|
| +#ifndef WebPushSubscription_h
|
| +#define WebPushSubscription_h
|
|
|
| #include "WebString.h"
|
|
|
| namespace blink {
|
|
|
| -struct WebPushRegistration {
|
| - WebPushRegistration(const WebString& endpoint, const WebString& registrationId)
|
| +struct WebPushSubscription {
|
| + WebPushSubscription(const WebString& endpoint, const WebString& subscriptionId)
|
| : endpoint(endpoint)
|
| - , registrationId(registrationId)
|
| + , subscriptionId(subscriptionId)
|
| {
|
| }
|
|
|
| WebString endpoint;
|
| - WebString registrationId;
|
| + WebString subscriptionId;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // WebPushRegistration_h
|
| +#endif // WebPushSubscription_h
|
|
|