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

Unified Diff: content/common/push_messaging_messages.h

Issue 1133083002: Reject the permissionState promise with NotSupported Exception (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix failing test Created 5 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
Index: content/common/push_messaging_messages.h
diff --git a/content/common/push_messaging_messages.h b/content/common/push_messaging_messages.h
index 73c11fe08b5fa5ec8c1c66925eb206a2c8ea3664..dcf48b1b0d36590abf79f2e82e50529b2ab09f3c 100644
--- a/content/common/push_messaging_messages.h
+++ b/content/common/push_messaging_messages.h
@@ -71,8 +71,9 @@ IPC_MESSAGE_CONTROL2(PushMessagingMsg_GetPermissionStatusSuccess,
int32_t /* request_id */,
blink::WebPushPermissionStatus /* status */)
-IPC_MESSAGE_CONTROL1(PushMessagingMsg_GetPermissionStatusError,
- int32_t /* request_id */)
+IPC_MESSAGE_CONTROL2(PushMessagingMsg_GetPermissionStatusError,
+ int32_t /* request_id */,
+ blink::WebPushError::ErrorType /* error_type */)
// Messages sent from the child process to the browser.

Powered by Google App Engine
This is Rietveld 408576698