| Index: content/renderer/service_worker/worker_fetch_context_impl.cc
|
| diff --git a/content/renderer/service_worker/worker_fetch_context_impl.cc b/content/renderer/service_worker/worker_fetch_context_impl.cc
|
| index a98fd88c31dfa95375b47b7e54e5eef507d312ae..0357fab6de803ce2116fb24c6a84020f52197963 100644
|
| --- a/content/renderer/service_worker/worker_fetch_context_impl.cc
|
| +++ b/content/renderer/service_worker/worker_fetch_context_impl.cc
|
| @@ -11,6 +11,7 @@
|
| #include "content/child/web_url_loader_impl.h"
|
| #include "content/common/frame_messages.h"
|
| #include "mojo/public/cpp/bindings/associated_binding.h"
|
| +#include "third_party/WebKit/public/platform/WebWorkerFetchContext.h"
|
|
|
| namespace content {
|
|
|
| @@ -72,6 +73,10 @@ bool WorkerFetchContextImpl::IsDataSaverEnabled() const {
|
| return is_data_saver_enabled_;
|
| }
|
|
|
| +int64_t WorkerFetchContextImpl::ServiceWorkerID() const {
|
| + return controller_version_id_;
|
| +}
|
| +
|
| blink::WebURL WorkerFetchContextImpl::FirstPartyForCookies() const {
|
| return first_party_for_cookies_;
|
| }
|
| @@ -96,6 +101,10 @@ void WorkerFetchContextImpl::set_is_controlled_by_service_worker(bool flag) {
|
| is_controlled_by_service_worker_ = flag;
|
| }
|
|
|
| +void WorkerFetchContextImpl::SetAppCacheHostID(int id) {
|
| + appcache_host_id_ = id;
|
| +}
|
| +
|
| void WorkerFetchContextImpl::set_parent_frame_id(int id) {
|
| parent_frame_id_ = id;
|
| }
|
|
|