Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: public/platform/WebPushRegistration.h

Issue 841333002: Push API: rename registration to subscription. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use https in the spec link. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « public/platform/WebPushProvider.h ('k') | public/platform/WebPushSubscription.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebPushRegistration.h
diff --git a/public/platform/WebPushRegistration.h b/public/platform/WebPushRegistration.h
index 18b6ce1e08fd6f7b366ac4b98e8bd0e45c585134..b39e138896ab3a1c4c3f2294ab61098db54f335f 100644
--- a/public/platform/WebPushRegistration.h
+++ b/public/platform/WebPushRegistration.h
@@ -5,20 +5,12 @@
#ifndef WebPushRegistration_h
#define WebPushRegistration_h
-#include "WebString.h"
+#include "WebPushSubscription.h"
namespace blink {
-struct WebPushRegistration {
- WebPushRegistration(const WebString& endpoint, const WebString& registrationId)
- : endpoint(endpoint)
- , registrationId(registrationId)
- {
- }
-
- WebString endpoint;
- WebString registrationId;
-};
+// FIXME: Delete this file when no longer used - https://crbug.com/446883.
+using WebPushRegistration = WebPushSubscription;
} // namespace blink
« no previous file with comments | « public/platform/WebPushProvider.h ('k') | public/platform/WebPushSubscription.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698