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 76e5cff75586e5fe2a5ed63cd13b0409eeb4a3bf..6174cc5edbb61a9638231ebad76c29ef5809d24c 100644 |
--- a/content/common/service_worker/service_worker_messages.h |
+++ b/content/common/service_worker/service_worker_messages.h |
@@ -24,6 +24,7 @@ |
#include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerError.h" |
#include "third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerEventResult.h" |
#include "url/gurl.h" |
+#include "url/origin.h" |
#undef IPC_MESSAGE_EXPORT |
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
@@ -323,8 +324,9 @@ IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_ClaimClients, |
// Informs the browser of new foreign fetch subscopes this worker wants to |
// handle. Should only be sent while an install event is being handled. |
-IPC_MESSAGE_ROUTED1(ServiceWorkerHostMsg_RegisterForeignFetchScopes, |
- std::vector<GURL> /* sub_scopes */) |
+IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_RegisterForeignFetchScopes, |
+ std::vector<GURL> /* sub_scopes */, |
+ std::vector<url::Origin> /* origins */) |
//--------------------------------------------------------------------------- |
// Messages sent from the browser to the child process. |