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

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

Issue 147593006: Refine error code returned by ServiceWorkerVersion::StartWorker (e.g. PROCESS_NOT_FOUND etc) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 4dbd4117b5f132dd8e32eed24a7975d775d771de..4002ce55b0004a30b7edb953237b6afe98848809 100644
--- a/content/common/service_worker/service_worker_status_code.h
+++ b/content/common/service_worker/service_worker_status_code.h
@@ -32,6 +32,10 @@ enum ServiceWorkerStatusCode {
// Activate event handling failed.
SERVICE_WORKER_ERROR_ACTIVATE_WORKER_FAILED,
+
+ // Sending an IPC to the worker failed (often due to child process is
+ // terminated).
+ SERVICE_WORKER_ERROR_IPC_FAILED,
};
CONTENT_EXPORT const char* ServiceWorkerStatusToString(
« no previous file with comments | « content/browser/service_worker/service_worker_version.cc ('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