Index: content/browser/appcache/chrome_appcache_service.cc |
diff --git a/content/browser/appcache/chrome_appcache_service.cc b/content/browser/appcache/chrome_appcache_service.cc |
index 1d913b938b547ae12d78cdeb75d2c4fd77941e80..08e0d0d33e7bdf79ff686a6f8a384761a187e78a 100644 |
--- a/content/browser/appcache/chrome_appcache_service.cc |
+++ b/content/browser/appcache/chrome_appcache_service.cc |
@@ -5,6 +5,7 @@ |
#include "content/browser/appcache/chrome_appcache_service.h" |
#include "base/files/file_path.h" |
+#include "content/browser/appcache/appcache_executable_handler_impl.h" |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/content_browser_client.h" |
#include "content/public/browser/resource_context.h" |
@@ -25,11 +26,15 @@ void ChromeAppCacheService::InitializeOnIOThread( |
const base::FilePath& cache_path, |
ResourceContext* resource_context, |
net::URLRequestContextGetter* request_context_getter, |
- scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy) { |
+ scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy, |
+ const WorkerStoragePartition& worker_storage_partition, |
+ ChromeBlobStorageContext* blob_context) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
cache_path_ = cache_path; |
resource_context_ = resource_context; |
+ executable_handler_factory_.reset(new AppCacheExecutableHandlerFactoryImpl( |
+ resource_context, worker_storage_partition, blob_context)); |
// The |request_context_getter| can be NULL in some unit tests. |
// |
@@ -48,6 +53,7 @@ void ChromeAppCacheService::InitializeOnIOThread( |
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::CACHE).get()); |
set_appcache_policy(this); |
set_special_storage_policy(special_storage_policy.get()); |
+ set_executable_handler_factory(executable_handler_factory_.get()); |
} |
bool ChromeAppCacheService::CanLoadAppCache(const GURL& manifest_url, |