summaryrefslogtreecommitdiffstats
path: root/content/public/common/push_messaging_status.h
diff options
context:
space:
mode:
authordanakj <danakj@chromium.org>2014-11-26 12:14:02 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-26 20:14:23 +0000
commitdaba9806e9069a1dbfa4c2558fd7b06f4441c111 (patch)
treea4994ee933554c4481f42607b3e821502b7d910a /content/public/common/push_messaging_status.h
parent1499b4948559e1c3d04beb9980dec9da36f9d4af (diff)
downloadchromium_src-daba9806e9069a1dbfa4c2558fd7b06f4441c111.zip
chromium_src-daba9806e9069a1dbfa4c2558fd7b06f4441c111.tar.gz
chromium_src-daba9806e9069a1dbfa4c2558fd7b06f4441c111.tar.bz2
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}
Diffstat (limited to 'content/public/common/push_messaging_status.h')
-rw-r--r--content/public/common/push_messaging_status.h6
1 files changed, 1 insertions, 5 deletions
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);