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

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

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.h
diff --git a/Source/modules/push_messaging/PushRegistration.h b/Source/modules/push_messaging/PushRegistration.h
index a85a4468ee52e6879767583dc1641ef06e8e2f3e..48551c188ac8ee2bfe181b15480e956dc444ea64 100644
--- a/Source/modules/push_messaging/PushRegistration.h
+++ b/Source/modules/push_messaging/PushRegistration.h
@@ -25,17 +25,17 @@ public:
virtual ~PushRegistration();
- const String& pushEndpoint() const { return m_pushEndpoint; }
- const String& pushRegistrationId() const { return m_pushRegistrationId; }
+ const String& endpoint() const { return m_endpoint; }
+ const String& registrationId() const { return m_registrationId; }
ScriptPromise unregister(ScriptState*);
void trace(Visitor*);
private:
- PushRegistration(const String& pushEndpoint, const String& pushRegistrationId, ServiceWorkerRegistration*);
+ PushRegistration(const String& endpoint, const String& registrationId, ServiceWorkerRegistration*);
- String m_pushEndpoint;
- String m_pushRegistrationId;
+ String m_endpoint;
+ String m_registrationId;
Member<ServiceWorkerRegistration> m_serviceWorkerRegistration;
};
« no previous file with comments | « LayoutTests/http/tests/push_messaging/register_success.html ('k') | Source/modules/push_messaging/PushRegistration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698