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

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

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
« no previous file with comments | « content/common/service_worker/service_worker_status_code.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/service_worker/service_worker_status_code.cc
diff --git a/content/common/service_worker/service_worker_status_code.cc b/content/common/service_worker/service_worker_status_code.cc
index 1e6eb4c911d8ed07eadc452a127f6ae033117f02..570630531327e4c9177dc19dbbf2f74c3ded229a 100644
--- a/content/common/service_worker/service_worker_status_code.cc
+++ b/content/common/service_worker/service_worker_status_code.cc
@@ -24,6 +24,8 @@ const char* ServiceWorkerStatusToString(ServiceWorkerStatusCode status) {
return "ServiceWorker failed to install";
case SERVICE_WORKER_ERROR_ACTIVATE_WORKER_FAILED:
return "ServiceWorker failed to activate";
+ case SERVICE_WORKER_ERROR_IPC_FAILED:
+ return "IPC connection was closed or IPC error has occured";
}
NOTREACHED();
return "";
« no previous file with comments | « content/common/service_worker/service_worker_status_code.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698