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

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

Issue 2892033002: Enable support for draft-ietf-webpush-encryption-08 (Closed)
Patch Set: Enable support for draft-ietf-webpush-encryption-08 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 3409e1a1a809765da1200cb2cf4df3dd7862b125..e31408b12cec4b7fc803dbe02904012e25fcb03f 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp
+++ b/third_party/WebKit/Source/modules/push_messaging/PushManager.cpp
@@ -44,7 +44,7 @@ PushManager::PushManager(ServiceWorkerRegistration* registration)
// static
Vector<String> PushManager::supportedContentEncodings() {
- return Vector<String>({"aesgcm"});
+ return Vector<String>({"aes128gcm", "aesgcm"});
}
ScriptPromise PushManager::subscribe(ScriptState* script_state,

Powered by Google App Engine
This is Rietveld 408576698