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

Unified Diff: content/common/service_worker/service_worker_status_code.h

Issue 871853002: ServiceWorker: add ServiceWorkerClients.claim() support (2/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove assignment within conditional expression Created 5 years, 10 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/service_worker/service_worker_status_code.h
diff --git a/content/common/service_worker/service_worker_status_code.h b/content/common/service_worker/service_worker_status_code.h
index e87e5c3bcad8b3b26b4cb0965192fb76e1c2ab71..1e9cdd51a6caccbe555fed48e4ee0d4a119808fc 100644
--- a/content/common/service_worker/service_worker_status_code.h
+++ b/content/common/service_worker/service_worker_status_code.h
@@ -51,6 +51,9 @@ enum ServiceWorkerStatusCode {
// Event handling failed (event.waitUntil Promise rejected).
SERVICE_WORKER_ERROR_EVENT_WAITUNTIL_REJECTED,
+
+ // An error triggered by invalid worker state.
+ SERVICE_WORKER_ERROR_STATE,
};
CONTENT_EXPORT const char* ServiceWorkerStatusToString(
« no previous file with comments | « content/common/service_worker/service_worker_messages.h ('k') | content/common/service_worker/service_worker_status_code.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698