Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Unified Diff: content/browser/loader/resource_requester_info.cc

Issue 2498193003: [WIP not ready for review] ServiceWorker Download support.
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/loader/resource_requester_info.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_requester_info.cc
diff --git a/content/browser/loader/resource_requester_info.cc b/content/browser/loader/resource_requester_info.cc
index 3c8e047cedceded422f96cdcebdeae4053f93dab..e8878d9581d9ee9009b899dde0fb4cdff4a9a8a3 100644
--- a/content/browser/loader/resource_requester_info.cc
+++ b/content/browser/loader/resource_requester_info.cc
@@ -26,7 +26,6 @@ void GetContextsCallbackForNavigationPreload(
*request_context_out =
service_worker_context->resource_context()->GetRequestContext();
}
-
}
ResourceRequesterInfo::ResourceRequesterInfo(
@@ -103,11 +102,13 @@ ResourceRequesterInfo::CreateForBrowserSideNavigation(
}
std::unique_ptr<ResourceRequesterInfo>
-ResourceRequesterInfo::CreateForDownloadOrPageSave(int child_id) {
+ResourceRequesterInfo::CreateForDownloadOrPageSave(
+ int child_id,
+ scoped_refptr<ServiceWorkerContextWrapper> service_worker_context) {
return base::WrapUnique(new ResourceRequesterInfo(
RequesterType::DOWNLOAD_OR_PAGE_SAVE, child_id,
nullptr /* appcache_service */, nullptr /* blob_storage_context */,
- nullptr /* file_system_context */, nullptr /*service_worker_context */,
+ nullptr /* file_system_context */, service_worker_context.get(),
GetContextsCallback()));
}
« no previous file with comments | « content/browser/loader/resource_requester_info.h ('k') | content/common/frame_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698