| Index: content/renderer/service_worker/service_worker_context_client.cc
|
| diff --git a/content/renderer/service_worker/service_worker_context_client.cc b/content/renderer/service_worker/service_worker_context_client.cc
|
| index 7d5212f84030d87c33b2fa4e8da648eb96d89d11..b3f0bb5669042518832daa2e8ae0621847ef3ed3 100644
|
| --- a/content/renderer/service_worker/service_worker_context_client.cc
|
| +++ b/content/renderer/service_worker/service_worker_context_client.cc
|
| @@ -48,6 +48,7 @@
|
| #include "third_party/WebKit/public/platform/WebMessagePortChannel.h"
|
| #include "third_party/WebKit/public/platform/WebPassOwnPtr.h"
|
| #include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
|
| +#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
|
| #include "third_party/WebKit/public/platform/WebString.h"
|
| #include "third_party/WebKit/public/platform/modules/background_sync/WebSyncRegistration.h"
|
| #include "third_party/WebKit/public/platform/modules/notifications/WebNotificationData.h"
|
| @@ -673,9 +674,11 @@ void ServiceWorkerContextClient::claim(
|
| }
|
|
|
| void ServiceWorkerContextClient::registerForeignFetchScopes(
|
| - const blink::WebVector<blink::WebURL>& sub_scopes) {
|
| + const blink::WebVector<blink::WebURL>& sub_scopes,
|
| + const blink::WebVector<blink::WebSecurityOrigin>& origins) {
|
| Send(new ServiceWorkerHostMsg_RegisterForeignFetchScopes(
|
| - GetRoutingID(), std::vector<GURL>(sub_scopes.begin(), sub_scopes.end())));
|
| + GetRoutingID(), std::vector<GURL>(sub_scopes.begin(), sub_scopes.end()),
|
| + std::vector<url::Origin>(origins.begin(), origins.end())));
|
| }
|
|
|
| void ServiceWorkerContextClient::DispatchSyncEvent(
|
|
|