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

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

Issue 22314003: NavigationController prototype Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NavController prototype - chrome side Created 7 years, 3 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 | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « content/browser/appcache/chrome_appcache_service.h ('k') | content/browser/storage_partition_impl_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698