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

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

Issue 1054033004: ServiceWorker: More accurate StartWorker result and UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync Created 5 years, 8 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.cc
diff --git a/content/common/service_worker/service_worker_status_code.cc b/content/common/service_worker/service_worker_status_code.cc
index 589cb2be65488f512f9b7a6234fa2157b42bddc5..51a58b0213ba78456213720fd9257bec0b2d242a 100644
--- a/content/common/service_worker/service_worker_status_code.cc
+++ b/content/common/service_worker/service_worker_status_code.cc
@@ -43,6 +43,8 @@ const char* ServiceWorkerStatusToString(ServiceWorkerStatusCode status) {
return "The ServiceWorker timed out";
case SERVICE_WORKER_ERROR_SCRIPT_EVALUATE_FAILED:
return "ServiceWorker script evaluation failed";
+ case SERVICE_WORKER_ERROR_DISK_CACHE:
+ return "Disk cache error";
case SERVICE_WORKER_ERROR_MAX_VALUE:
NOTREACHED();
}

Powered by Google App Engine
This is Rietveld 408576698