| Index: content/common/platform_notification_messages.h
|
| diff --git a/content/common/platform_notification_messages.h b/content/common/platform_notification_messages.h
|
| index 5e5d8bb65f7d543ff89dea962ebc68d97cada28d..dc79fe4fc24dc13a74dd2ca45eb7e7f1fbe889a1 100644
|
| --- a/content/common/platform_notification_messages.h
|
| +++ b/content/common/platform_notification_messages.h
|
| @@ -10,10 +10,11 @@
|
| #include <utility>
|
| #include <vector>
|
|
|
| +#include "content/public/common/common_param_traits_macros.h"
|
| #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/notifications/WebNotificationPermission.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.
|
| @@ -29,9 +30,6 @@ using PersistentNotificationInfo =
|
|
|
| #define IPC_MESSAGE_START PlatformNotificationMsgStart
|
|
|
| -IPC_ENUM_TRAITS_MAX_VALUE(blink::WebNotificationPermission,
|
| - blink::WebNotificationPermissionLast)
|
| -
|
| IPC_ENUM_TRAITS_MAX_VALUE(
|
| content::PlatformNotificationData::Direction,
|
| content::PlatformNotificationData::DIRECTION_LAST)
|
| @@ -128,6 +126,7 @@ IPC_MESSAGE_CONTROL2(PlatformNotificationHostMsg_ClosePersistent,
|
| GURL /* origin */,
|
| int64_t /* persistent_notification_id */)
|
|
|
| -IPC_SYNC_MESSAGE_CONTROL1_1(PlatformNotificationHostMsg_CheckPermission,
|
| - GURL /* origin */,
|
| - blink::WebNotificationPermission /* result */)
|
| +IPC_SYNC_MESSAGE_CONTROL1_1(
|
| + PlatformNotificationHostMsg_CheckPermission,
|
| + GURL /* origin */,
|
| + blink::mojom::PermissionStatus /* permission_status */)
|
|
|