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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushManager.h

Issue 2863443002: Implement and ship PushManager.supportedContentEncodings (Closed)
Patch Set: Implement and ship PushManager.supportedContentEncodings Created 3 years, 7 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
Index: third_party/WebKit/Source/modules/push_messaging/PushManager.h
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushManager.h b/third_party/WebKit/Source/modules/push_messaging/PushManager.h
index d53cd45d93a151e6a5bdf2ce5a3d37910c466dcc..1e603a280b308802723bd75b738504f756a2ab0a 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushManager.h
+++ b/third_party/WebKit/Source/modules/push_messaging/PushManager.h
@@ -26,6 +26,10 @@ class MODULES_EXPORT PushManager final : public GarbageCollected<PushManager>,
return new PushManager(registration);
}
+ // Web-exposed property:
+ static Vector<String> supportedContentEncodings();
+
+ // Web-exposed methods:
ScriptPromise subscribe(ScriptState*,
const PushSubscriptionOptionsInit&,
ExceptionState&);

Powered by Google App Engine
This is Rietveld 408576698