| 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 e593b240bf04a1ac31517f4966b45e7a70498ce3..3081e535f0b59090b351799484911562efd39353 100644
|
| --- a/content/browser/service_worker/service_worker_context_wrapper.h
|
| +++ b/content/browser/service_worker/service_worker_context_wrapper.h
|
| @@ -20,6 +20,10 @@ class MessageLoopProxy;
|
| class SequencedTaskRunner;
|
| }
|
|
|
| +namespace net {
|
| +class URLRequestContext;
|
| +}
|
| +
|
| namespace quota {
|
| class QuotaManagerProxy;
|
| }
|
| @@ -27,6 +31,7 @@ class QuotaManagerProxy;
|
| namespace content {
|
|
|
| class BrowserContext;
|
| +class ChromeBlobStorageContext;
|
| class ServiceWorkerContextCore;
|
| class ServiceWorkerContextObserver;
|
|
|
| @@ -74,6 +79,14 @@ class CONTENT_EXPORT ServiceWorkerContextWrapper
|
|
|
| bool is_incognito() const { return is_incognito_; }
|
|
|
| + // The URLRequestContext doesn't exist until after the StoragePartition is
|
| + // made (which is after this object is made). This function must be called
|
| + // after this object is created but before any ServiceWorkerCache operations.
|
| + // It must be called on the IO thread.
|
| + void SetBlobParametersForCache(
|
| + net::URLRequestContext* request_context,
|
| + base::WeakPtr<webkit_blob::BlobStorageContext> blob_storage_context);
|
| +
|
| private:
|
| friend class base::RefCountedThreadSafe<ServiceWorkerContextWrapper>;
|
| friend class EmbeddedWorkerTestHelper;
|
|
|