Index: content/public/common/push_messaging_status.h |
diff --git a/content/public/common/push_messaging_status.h b/content/public/common/push_messaging_status.h |
index b160951ffdd9119ebfc09fb56d9200cc9bc75d11..e272cf7494604b0175fc05bb9acd17e7fde5ae41 100644 |
--- a/content/public/common/push_messaging_status.h |
+++ b/content/public/common/push_messaging_status.h |
@@ -221,12 +221,16 @@ enum PushDeliveryStatus { |
// The message was delivered, but the Service Worker timed out processing it. |
PUSH_DELIVERY_STATUS_TIMEOUT = 7, |
+ // The message could not be delivered because the permission granted to the |
+ // origin has been suspended, for example through a kill switch. |
+ PUSH_DELIVERY_STATUS_PERMISSION_SUSPENDED = 8, |
+ |
// NOTE: Do not renumber these as that would confuse interpretation of |
// previously logged data. When making changes, also update the enum list |
// in tools/metrics/histograms/histograms.xml to keep it in sync, and |
// update PUSH_DELIVERY_STATUS_LAST below. |
- PUSH_DELIVERY_STATUS_LAST = PUSH_DELIVERY_STATUS_TIMEOUT |
+ PUSH_DELIVERY_STATUS_LAST = PUSH_DELIVERY_STATUS_PERMISSION_SUSPENDED |
}; |
// Push message user visible tracking for reporting in UMA. Enum values can be |