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

Unified Diff: content/browser/appcache/appcache_job.cc

Issue 2974733002: Add support for subresource request fallback in AppCache for the network service.. (Closed)
Patch Set: Format changes Created 3 years, 5 months 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 | « no previous file | content/browser/appcache/appcache_request.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache_job.cc
diff --git a/content/browser/appcache/appcache_job.cc b/content/browser/appcache/appcache_job.cc
index 635e9a879f44d895cb4446747c2dac5f5f6d0ea5..3ef6fb868c3277524221d4524960ae6d3127acdb 100644
--- a/content/browser/appcache/appcache_job.cc
+++ b/content/browser/appcache/appcache_job.cc
@@ -25,8 +25,8 @@ std::unique_ptr<AppCacheJob> AppCacheJob::Create(
const OnPrepareToRestartCallback& restart_callback) {
std::unique_ptr<AppCacheJob> job;
if (base::FeatureList::IsEnabled(features::kNetworkService)) {
- job.reset(
- new AppCacheURLLoaderJob(*(request->GetResourceRequest()), storage));
+ job.reset(new AppCacheURLLoaderJob(*(request->GetResourceRequest()),
+ request->AsURLLoaderRequest(), storage));
} else {
job.reset(new AppCacheURLRequestJob(request->GetURLRequest(),
network_delegate, storage, host,
« no previous file with comments | « no previous file | content/browser/appcache/appcache_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698