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

Unified Diff: content/renderer/service_worker/service_worker_context_client.h

Issue 1636483002: Update the PushEvent to have a nullable PushMessageData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 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
Index: content/renderer/service_worker/service_worker_context_client.h
diff --git a/content/renderer/service_worker/service_worker_context_client.h b/content/renderer/service_worker/service_worker_context_client.h
index 6356e37bef016fafea20a9f22e7b15cb030b53d6..79e21a0db8dec6372067fe112d40e993b3a3ae90 100644
--- a/content/renderer/service_worker/service_worker_context_client.h
+++ b/content/renderer/service_worker/service_worker_context_client.h
@@ -53,6 +53,7 @@ namespace content {
struct NavigatorConnectClient;
struct PlatformNotificationData;
+struct PushEventPayload;
struct ServiceWorkerClientInfo;
class ServiceWorkerProviderContext;
class ServiceWorkerContextClient;
@@ -192,7 +193,7 @@ class ServiceWorkerContextClient
int64_t persistent_notification_id,
const PlatformNotificationData& notification_data,
int action_index);
- void OnPushEvent(int request_id, const std::string& data);
+ void OnPushEvent(int request_id, const content::PushEventPayload& payload);
Peter Beverloo 2016/01/26 12:35:18 s/content:://
harkness 2016/01/26 14:49:20 Done.
void OnGeofencingEvent(int request_id,
blink::WebGeofencingEventType event_type,
const std::string& region_id,

Powered by Google App Engine
This is Rietveld 408576698