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

Unified Diff: content/browser/service_worker/service_worker_dispatcher_host.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_dispatcher_host.h
diff --git a/content/browser/service_worker/service_worker_dispatcher_host.h b/content/browser/service_worker/service_worker_dispatcher_host.h
index c2b1ebcb10f1ac97921fa0f882c82dfa7ee71a62..64001e09b9e4109615621a63412d8225b33e79d1 100644
--- a/content/browser/service_worker/service_worker_dispatcher_host.h
+++ b/content/browser/service_worker/service_worker_dispatcher_host.h
@@ -143,6 +143,7 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
int provider_id,
int request_id,
ServiceWorkerStatusCode status,
+ const std::string& status_message,
int64 registration_id);
void UnregistrationComplete(int thread_id,
@@ -158,7 +159,8 @@ class CONTENT_EXPORT ServiceWorkerDispatcherHost : public BrowserMessageFilter {
void SendRegistrationError(int thread_id,
int request_id,
- ServiceWorkerStatusCode status);
+ ServiceWorkerStatusCode status,
+ const std::string& status_message);
void SendUnregistrationError(int thread_id,
int request_id,

Powered by Google App Engine
This is Rietveld 408576698