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

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

Issue 567903002: ServiceWorker: Change worker script fetch error code(2/3). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase & fix typo Created 6 years, 3 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 a0245e48e10feabbe48edc800c6badbea8adfbc4..953d533fc3c85387426fe5f84cd6b973400e581f 100644
--- a/content/common/service_worker/service_worker_status_code.h
+++ b/content/common/service_worker/service_worker_status_code.h
@@ -42,6 +42,12 @@ enum ServiceWorkerStatusCode {
// Sending an IPC to the worker failed (often due to child process is
// terminated).
SERVICE_WORKER_ERROR_IPC_FAILED,
+
+ // Operation is failed by network issue.
+ SERVICE_WORKER_ERROR_NETWORK,
+
+ // Operation is failed by security issue.
+ SERVICE_WORKER_ERROR_SECURITY,
};
CONTENT_EXPORT const char* ServiceWorkerStatusToString(

Powered by Google App Engine
This is Rietveld 408576698