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

Unified Diff: third_party/WebKit/public/platform/modules/push_messaging/WebPushSubscriptionOptions.h

Issue 1701313002: Partial implementation of subscription restrictions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix module export build issue Created 4 years, 10 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 | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/modules/push_messaging/WebPushSubscriptionOptions.h
diff --git a/third_party/WebKit/public/platform/modules/push_messaging/WebPushSubscriptionOptions.h b/third_party/WebKit/public/platform/modules/push_messaging/WebPushSubscriptionOptions.h
index bfac23a214aab86e30aae83e43ca5aa9323d596d..ad3db17f8c8417fc321de580a6600d657a47fc05 100644
--- a/third_party/WebKit/public/platform/modules/push_messaging/WebPushSubscriptionOptions.h
+++ b/third_party/WebKit/public/platform/modules/push_messaging/WebPushSubscriptionOptions.h
@@ -5,6 +5,8 @@
#ifndef WebPushSubscriptionOptions_h
#define WebPushSubscriptionOptions_h
+#include "public/platform/WebString.h"
+
namespace blink {
struct WebPushSubscriptionOptions {
@@ -16,6 +18,10 @@ struct WebPushSubscriptionOptions {
// Indicates that the subscription will only be used for push messages
// that result in UI visible to the user.
bool userVisibleOnly;
+
+ // P-256 public key, in uncompressed form, of the app server that can send
+ // push messages to this subscription.
+ WebString applicationServerKey;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698