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

Unified Diff: content/common/service_worker_messages.h

Issue 26631006: add error IPC handling to dispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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_messages.h
diff --git a/content/common/service_worker_messages.h b/content/common/service_worker_messages.h
index f59ef1fdecdca8d1df62aceb0d8e8c6540acc577..ff032100b4d2e2fe2177cf1e3bc262c8627accde 100644
--- a/content/common/service_worker_messages.h
+++ b/content/common/service_worker_messages.h
@@ -39,3 +39,12 @@ IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerUnregistered,
int32 /* thread_id */,
int32 /* request_id */,
int32 /* service_worker_id */)
+
+// Any kind of registration error from RegisterServiceWorker /
+// UnregisterServiceWorker above. This can expand to include the
+// actual reason for the error, or even be split if there is a
+// significant difference between registration and unregistration
+// errors.
+IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerRegistrationError,
+ int32 /* thread_id */,
+ int32 /* request_id */)

Powered by Google App Engine
This is Rietveld 408576698