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

Unified Diff: Source/modules/push_messaging/PushRegistration.cpp

Issue 795153003: Push API: rename to endpoint and registrationId. [2/3] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years 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
Index: Source/modules/push_messaging/PushRegistration.cpp
diff --git a/Source/modules/push_messaging/PushRegistration.cpp b/Source/modules/push_messaging/PushRegistration.cpp
index 83713fb00f76519612903129bd7abfab58f5b639..84a5e3acdef9309ce8efa6a4f4dccd85c83f99bc 100644
--- a/Source/modules/push_messaging/PushRegistration.cpp
+++ b/Source/modules/push_messaging/PushRegistration.cpp
@@ -26,10 +26,10 @@ void PushRegistration::dispose(WebPushRegistration* pushRegistration)
delete pushRegistration;
}
-PushRegistration::PushRegistration(const String& pushEndpoint, const String& pushRegistrationId, ServiceWorkerRegistration* registration)
- : m_pushEndpoint(pushEndpoint)
- , m_pushRegistrationId(pushRegistrationId)
- , m_serviceWorkerRegistration(registration)
+PushRegistration::PushRegistration(const String& endpoint, const String& registrationId, ServiceWorkerRegistration* serviceWorkerRegistration)
+ : m_endpoint(endpoint)
+ , m_registrationId(registrationId)
+ , m_serviceWorkerRegistration(serviceWorkerRegistration)
{
}
« no previous file with comments | « Source/modules/push_messaging/PushRegistration.h ('k') | Source/modules/push_messaging/PushRegistration.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698