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

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

Issue 225403014: ServiceWorker: propagate provider_id to the browser process in .register + int32/int cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 8 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_messages.h
diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h
index 6ce7f851a7215c0d139bd2a9eaf97a7ff8da8256..a0fe6395a6a0e940fc63f974be8b72c8413ed69a 100644
--- a/content/common/service_worker/service_worker_messages.h
+++ b/content/common/service_worker/service_worker_messages.h
@@ -42,15 +42,17 @@ IPC_STRUCT_TRAITS_END()
// Messages sent from the child process to the browser.
-IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_RegisterServiceWorker,
- int32 /* thread_id */,
- int32 /* request_id */,
+IPC_MESSAGE_CONTROL5(ServiceWorkerHostMsg_RegisterServiceWorker,
+ int /* thread_id */,
+ int /* request_id */,
+ int /* provider_id */,
GURL /* scope */,
GURL /* script_url */)
-IPC_MESSAGE_CONTROL3(ServiceWorkerHostMsg_UnregisterServiceWorker,
- int32 /* thread_id */,
- int32 /* request_id */,
+IPC_MESSAGE_CONTROL4(ServiceWorkerHostMsg_UnregisterServiceWorker,
+ int /* thread_id */,
+ int /* request_id */,
+ int /* provider_id */,
GURL /* scope (url pattern) */)
// Sends a 'message' event to a service worker (renderer->browser).
@@ -107,20 +109,20 @@ IPC_MESSAGE_CONTROL2(ServiceWorkerHostMsg_FetchEventFinished,
// Response to ServiceWorkerMsg_RegisterServiceWorker
IPC_MESSAGE_CONTROL3(ServiceWorkerMsg_ServiceWorkerRegistered,
- int32 /* thread_id */,
- int32 /* request_id */,
+ int /* thread_id */,
+ int /* request_id */,
int /* handle_id */)
// Response to ServiceWorkerMsg_UnregisterServiceWorker
IPC_MESSAGE_CONTROL2(ServiceWorkerMsg_ServiceWorkerUnregistered,
- int32 /* thread_id */,
- int32 /* request_id */)
+ int /* thread_id */,
+ int /* request_id */)
// Sent when any kind of registration error occurs during a
// RegisterServiceWorker / UnregisterServiceWorker handler above.
IPC_MESSAGE_CONTROL4(ServiceWorkerMsg_ServiceWorkerRegistrationError,
- int32 /* thread_id */,
- int32 /* request_id */,
+ int /* thread_id */,
+ int /* request_id */,
blink::WebServiceWorkerError::ErrorType /* code */,
base::string16 /* message */)

Powered by Google App Engine
This is Rietveld 408576698