From daba9806e9069a1dbfa4c2558fd7b06f4441c111 Mon Sep 17 00:00:00 2001 From: danakj Date: Wed, 26 Nov 2014 12:14:02 -0800 Subject: Revert of Plumb Push Event's WebServiceWorkerEventResult to browser status enum (patchset #3 id:40001 of https://codereview.chromium.org/717083004/) Reason for revert: Compiler errors on android: http://build.chromium.org/p/chromium/buildstatus?builder=Android&number=31434 Original issue's description: > Plumb Push Event's WebServiceWorkerEventResult to browser status enum > > This will later allow us to log to UMA how often Service Worker JS > passes a rejected Promise to event.waitUntil inside the Push event. > > BUG=401438 > > Committed: https://crrev.com/6d4f18c990de761829814696e54bc33055ee922c > Cr-Commit-Position: refs/heads/master@{#305855} TBR=peter@chromium.org,palmer@chromium.org,michaeln@chromium.org,avi@chromium.org,mvanouwerkerk@chromium.org,johnme@chromium.org NOTREECHECKS=true NOTRY=true BUG=401438 Review URL: https://codereview.chromium.org/757403002 Cr-Commit-Position: refs/heads/master@{#305864} --- content/public/common/push_messaging_status.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '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 6ac9d96..22351ca 100644 --- a/content/public/common/push_messaging_status.h +++ b/content/public/common/push_messaging_status.h @@ -51,14 +51,10 @@ enum PushDeliveryStatus { // The message could not be delivered because of a service worker error. PUSH_DELIVERY_STATUS_SERVICE_WORKER_ERROR, - // The message was delivered, but the Service Worker passed a Promise to - // event.waitUntil that got rejected. - PUSH_DELIVERY_STATUS_EVENT_WAITUNTIL_REJECTED, - // When making changes, update PUSH_DELIVERY_STATUS_LAST below. // Used for IPC message range checks. - PUSH_DELIVERY_STATUS_LAST = PUSH_DELIVERY_STATUS_EVENT_WAITUNTIL_REJECTED + PUSH_DELIVERY_STATUS_LAST = PUSH_DELIVERY_STATUS_SERVICE_WORKER_ERROR }; const char* PushRegistrationStatusToString(PushRegistrationStatus status); -- cgit v1.1