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 d80c6d88b1309380a7dd6e6f06431ea4836d2283..e7d959cc9399197e9b0fef10dadb875b01e83b96 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; |
} |
@@ -99,12 +103,13 @@ 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_; |
DownloadManager* download_manager_; |
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. |