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

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

Issue 1063823005: Service Worker: Use more specific errors when StartWorker fails (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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.h
diff --git a/content/common/service_worker/service_worker_status_code.h b/content/common/service_worker/service_worker_status_code.h
index 2a9f0edfb6564afd7dcfe63918feeb87878316c1..a923ceb5d2cbea4bdf13f6f167baa2f65a94735e 100644
--- a/content/common/service_worker/service_worker_status_code.h
+++ b/content/common/service_worker/service_worker_status_code.h
@@ -60,6 +60,9 @@ enum ServiceWorkerStatusCode {
// The Service Worker took too long to finish a task.
SERVICE_WORKER_ERROR_TIMEOUT,
+ // An error occurred during initial script evaluation.
+ SERVICE_WORKER_ERROR_SCRIPT_EVALUATE_FAILED,
nhiroki 2015/04/15 06:46:02 Probably you need to update histograms.xml.
falken 2015/04/15 06:54:36 Great point... done
+
SERVICE_WORKER_ERROR_MAX_VALUE
};
« 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