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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp b/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp
index b7596a28fb0f2849649fc114301231df2c791af2..3409e1a1a809765da1200cb2cf4df3dd7862b125 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp
+++ b/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp
@@ -42,6 +42,11 @@ PushManager::PushManager(ServiceWorkerRegistration* registration)
DCHECK(registration);
}
+// static
+Vector<String> PushManager::supportedContentEncodings() {
+ return Vector<String>({"aesgcm"});
+}
+
ScriptPromise PushManager::subscribe(ScriptState* script_state,
const PushSubscriptionOptionsInit& options,
ExceptionState& exception_state) {

Powered by Google App Engine
This is Rietveld 408576698