| Index: content/browser/service_worker/service_worker_context_wrapper.h
|
| diff --git a/content/browser/service_worker/service_worker_context_wrapper.h b/content/browser/service_worker/service_worker_context_wrapper.h
|
| index 0285802834194f66fd3c299e56f1e4819e4305c9..d631257ce49415f38012b2902ed65838e50cf85b 100644
|
| --- a/content/browser/service_worker/service_worker_context_wrapper.h
|
| +++ b/content/browser/service_worker/service_worker_context_wrapper.h
|
| @@ -17,7 +17,6 @@
|
| #include "content/browser/service_worker/service_worker_context_core.h"
|
| #include "content/common/content_export.h"
|
| #include "content/public/browser/service_worker_context.h"
|
| -#include "net/url_request/url_request_context_getter_observer.h"
|
|
|
| namespace base {
|
| class FilePath;
|
| @@ -44,7 +43,6 @@ class StoragePartitionImpl;
|
| // is what is used internally in the service worker lib.
|
| class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| : NON_EXPORTED_BASE(public ServiceWorkerContext),
|
| - public net::URLRequestContextGetterObserver,
|
| public base::RefCountedThreadSafe<ServiceWorkerContextWrapper> {
|
| public:
|
| using StatusCallback = base::Callback<void(ServiceWorkerStatusCode)>;
|
| @@ -67,12 +65,7 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| void Shutdown();
|
|
|
| // Must be called on the IO thread.
|
| - void InitializeResourceContext(
|
| - ResourceContext* resource_context,
|
| - scoped_refptr<net::URLRequestContextGetter> request_context_getter);
|
| -
|
| - // For net::URLRequestContextGetterObserver
|
| - void OnContextShuttingDown() override;
|
| + void InitializeResourceContext(ResourceContext* resource_context);
|
|
|
| // Deletes all files on disk and restarts the system asynchronously. This
|
| // leaves the system in a disabled state until it's done. This should be
|
| @@ -251,8 +244,6 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
| // The ResourceContext associated with this context.
|
| ResourceContext* resource_context_;
|
|
|
| - scoped_refptr<net::URLRequestContextGetter> request_context_getter_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextWrapper);
|
| };
|
|
|
|
|