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

Unified Diff: content/common/platform_notification_messages.h

Issue 1995663003: Revert of Introduce the Blink NotificationService, move permission checks there (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/child/notifications/notification_manager.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/platform_notification_messages.h
diff --git a/content/common/platform_notification_messages.h b/content/common/platform_notification_messages.h
index 32d1d13b181b21fca315e439c83811a2caf5eba0..dc79fe4fc24dc13a74dd2ca45eb7e7f1fbe889a1 100644
--- a/content/common/platform_notification_messages.h
+++ b/content/common/platform_notification_messages.h
@@ -14,6 +14,7 @@
#include "content/public/common/notification_resources.h"
#include "content/public/common/platform_notification_data.h"
#include "ipc/ipc_message_macros.h"
+#include "third_party/WebKit/public/platform/modules/permissions/permission_status.mojom.h"
#include "third_party/skia/include/core/SkBitmap.h"
// Singly-included section for type definitions.
@@ -124,3 +125,8 @@
IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent,
GURL /* origin */,
int64_t /* persistent_notification_id */)
+
+IPC_SYNC_MESSAGE_CONTROL1_1(
+ PlatformNotificationHostMsg_CheckPermission,
+ GURL /* origin */,
+ blink::mojom::PermissionStatus /* permission_status */)
« no previous file with comments | « content/child/notifications/notification_manager.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698