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

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

Issue 794633002: Remove ShowDesktopNotificationHostMsgParams in favor of PlatformNotificationData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 6 years 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_script_context.h
diff --git a/content/renderer/service_worker/service_worker_script_context.h b/content/renderer/service_worker/service_worker_script_context.h
index 6aee37fe618ec944573318b68ee4d39685384361..be94dd760d4395b94ba00c27e078114a11050a8e 100644
--- a/content/renderer/service_worker/service_worker_script_context.h
+++ b/content/renderer/service_worker/service_worker_script_context.h
@@ -36,7 +36,7 @@ class Message;
namespace content {
class EmbeddedWorkerContextClient;
-struct ShowDesktopNotificationHostMsgParams;
+struct PlatformNotificationData;
// TODO(kinuko): This should implement WebServiceWorkerContextClient
// rather than having EmbeddedWorkerContextClient implement it.
@@ -100,7 +100,7 @@ class ServiceWorkerScriptContext {
void OnNotificationClickEvent(
int request_id,
const std::string& notification_id,
- const ShowDesktopNotificationHostMsgParams& notification_data);
+ const PlatformNotificationData& notification_data);
void OnPushEvent(int request_id, const std::string& data);
void OnGeofencingEvent(int request_id,
blink::WebGeofencingEventType event_type,

Powered by Google App Engine
This is Rietveld 408576698