Lines Matching refs:ServiceWorkerCache
26 // Handles the loading and clean up of ServiceWorkerCache objects. The
30 typedef base::Callback<void(const scoped_refptr<ServiceWorkerCache>&)>
45 // Creates a ServiceWorkerCache with the given name. It does not attempt to
47 virtual scoped_refptr<ServiceWorkerCache> CreateServiceWorkerCache(
85 virtual scoped_refptr<ServiceWorkerCache> CreateServiceWorkerCache(
87 return ServiceWorkerCache::CreateMemoryCache(request_context_,
93 scoped_refptr<ServiceWorkerCache> cache =
94 ServiceWorkerCache::CreateMemoryCache(request_context_, blob_context_);
118 typedef std::map<std::string, scoped_refptr<ServiceWorkerCache> > CacheRefMap;
138 virtual scoped_refptr<ServiceWorkerCache> CreateServiceWorkerCache(
142 return ServiceWorkerCache::CreatePersistentCache(
180 callback.Run(scoped_refptr<ServiceWorkerCache>());
366 callback.Run(scoped_refptr<ServiceWorkerCache>(),
392 scoped_refptr<ServiceWorkerCache> cache = GetLoadedCache(cache_name);
394 callback.Run(scoped_refptr<ServiceWorkerCache>(),
438 base::WeakPtr<ServiceWorkerCache> cache = it->second;
507 base::WeakPtr<ServiceWorkerCache>()));
523 const scoped_refptr<ServiceWorkerCache>& cache) {
527 callback.Run(scoped_refptr<ServiceWorkerCache>(),
545 const scoped_refptr<ServiceWorkerCache>& cache,
574 scoped_refptr<ServiceWorkerCache> ServiceWorkerCacheStorage::GetLoadedCache(
581 return scoped_refptr<ServiceWorkerCache>();
583 base::WeakPtr<ServiceWorkerCache> cache = map_iter->second;
586 scoped_refptr<ServiceWorkerCache> new_cache =