Index: content/browser/cache_storage/cache_storage_cache.cc |
diff --git a/content/browser/cache_storage/cache_storage_cache.cc b/content/browser/cache_storage/cache_storage_cache.cc |
index 43737590ee9e623cb06cf61829947c37f73cf3cb..b0f0332fac955c0f2c926f2f35f250ea0951fbdd 100644 |
--- a/content/browser/cache_storage/cache_storage_cache.cc |
+++ b/content/browser/cache_storage/cache_storage_cache.cc |
@@ -764,7 +764,7 @@ void CacheStorageCache::Put(const CacheStorageBatchOperation& operation, |
scoped_ptr<ServiceWorkerFetchRequest> request(new ServiceWorkerFetchRequest( |
operation.request.url, operation.request.method, |
operation.request.headers, operation.request.referrer, |
- operation.request.is_reload)); |
+ operation.request.is_reload, operation.request.client)); |
// We don't support streaming for cache. |
DCHECK(operation.response.stream_url.is_empty()); |
@@ -979,7 +979,7 @@ void CacheStorageCache::Delete(const CacheStorageBatchOperation& operation, |
scoped_ptr<ServiceWorkerFetchRequest> request(new ServiceWorkerFetchRequest( |
operation.request.url, operation.request.method, |
operation.request.headers, operation.request.referrer, |
- operation.request.is_reload)); |
+ operation.request.is_reload, operation.request.client)); |
ErrorCallback pending_callback = |
base::Bind(&CacheStorageCache::PendingErrorCallback, |
@@ -1138,7 +1138,8 @@ void CacheStorageCache::KeysDidReadMetadata( |
if (metadata) { |
keys_context->out_keys->push_back(ServiceWorkerFetchRequest( |
GURL(entry->GetKey()), metadata->request().method(), |
- ServiceWorkerHeaderMap(), Referrer(), false)); |
+ ServiceWorkerHeaderMap(), Referrer(), false, |
+ ServiceWorkerClientInfo())); |
ServiceWorkerHeaderMap& req_headers = |
keys_context->out_keys->back().headers; |