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

Unified Diff: Source/modules/push_messaging/PushManager.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 | « Source/modules/modules.gypi ('k') | Source/modules/push_messaging/PushManager.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/push_messaging/PushManager.h
diff --git a/Source/modules/push_messaging/PushManager.h b/Source/modules/push_messaging/PushManager.h
index a15921aa08e85eb5f34c7269587659c765769710..125b7b6ac2d7d36622c9bef2df0a172da41e597c 100644
--- a/Source/modules/push_messaging/PushManager.h
+++ b/Source/modules/push_messaging/PushManager.h
@@ -22,8 +22,8 @@ public:
return new PushManager(registration);
}
- ScriptPromise registerPushMessaging(ScriptState*);
- ScriptPromise getRegistration(ScriptState*);
+ ScriptPromise subscribe(ScriptState*);
+ ScriptPromise getSubscription(ScriptState*);
ScriptPromise hasPermission(ScriptState*);
void trace(Visitor*);
« no previous file with comments | « Source/modules/modules.gypi ('k') | Source/modules/push_messaging/PushManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698