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

Unified Diff: content/browser/service_worker/service_worker_registration_status.h

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
Index: content/browser/service_worker/service_worker_registration_status.h
diff --git a/content/browser/service_worker/service_worker_registration_status.h b/content/browser/service_worker/service_worker_registration_status.h
index 8cffd5628e92202d7b04f3e813f3fb8ef32d5632..46cf5ab83f0d543609fcea5fdcd80f842bddd018 100644
--- a/content/browser/service_worker/service_worker_registration_status.h
+++ b/content/browser/service_worker/service_worker_registration_status.h
@@ -14,6 +14,7 @@ namespace content {
// This should only be called for errors, where status != OK.
void GetServiceWorkerRegistrationStatusResponse(
ServiceWorkerStatusCode status,
+ const std::string& status_message,
blink::WebServiceWorkerError::ErrorType* error_type,
base::string16* message);

Powered by Google App Engine
This is Rietveld 408576698