| Index: content/browser/background_fetch/background_fetch_context.h
|
| diff --git a/content/browser/background_fetch/background_fetch_context.h b/content/browser/background_fetch/background_fetch_context.h
|
| index 345193713e931ab011c31c85f5c068f0de1243e0..e0b0fc38ac0816869898150317d08a0ad1953c10 100644
|
| --- a/content/browser/background_fetch/background_fetch_context.h
|
| +++ b/content/browser/background_fetch/background_fetch_context.h
|
| @@ -15,6 +15,10 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom.h"
|
|
|
| +namespace net {
|
| +class URLRequestContextGetter;
|
| +}
|
| +
|
| namespace url {
|
| class Origin;
|
| }
|
| @@ -98,11 +102,12 @@ class CONTENT_EXPORT BackgroundFetchContext
|
| // Called when a the given |controller| has finished processing its job.
|
| void DidCompleteJob(BackgroundFetchJobController* controller);
|
|
|
| - // |this| is owned by the BrowserContext via the StoragePartitionImpl.
|
| + // |this| is owned, indirectly, by the BrowserContext.
|
| BrowserContext* browser_context_;
|
| - StoragePartitionImpl* storage_partition_;
|
|
|
| scoped_refptr<ServiceWorkerContextWrapper> service_worker_context_;
|
| + scoped_refptr<net::URLRequestContextGetter> request_context_;
|
| +
|
| std::unique_ptr<BackgroundFetchDataManager> background_fetch_data_manager_;
|
|
|
| // Map of the Background Fetch fetches that are currently in-progress.
|
|
|