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

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

Issue 845313004: Service Worker: Improve error messages from register(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git-cl format Created 5 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_types.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_types.cc
diff --git a/content/common/service_worker/service_worker_types.cc b/content/common/service_worker/service_worker_types.cc
index ea7144e3cc469a561194d26e1ded7bec10bff13a..52caf1f588de13a81b0b3849dfe9c40588e13f45 100644
--- a/content/common/service_worker/service_worker_types.cc
+++ b/content/common/service_worker/service_worker_types.cc
@@ -12,6 +12,8 @@ const char kServiceWorkerUnregisterErrorPrefix[] =
"Failed to unregister a ServiceWorkerRegistration: ";
const char kServiceWorkerGetRegistrationErrorPrefix[] =
"Failed to get a ServiceWorkerRegistration: ";
+const char kFetchScriptError[] =
+ "An unknown error occurred when fetching the script.";
ServiceWorkerFetchRequest::ServiceWorkerFetchRequest()
: mode(FETCH_REQUEST_MODE_NO_CORS),
« no previous file with comments | « content/common/service_worker/service_worker_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698