Searched refs:ServiceWorkerCache (Results 1 - 8 of 8) sorted by relevance
/external/chromium_org/content/browser/service_worker/ |
H A D | service_worker_cache.h | 37 class CONTENT_EXPORT ServiceWorkerCache class in namespace:content 38 : public base::RefCounted<ServiceWorkerCache> { 56 static scoped_refptr<ServiceWorkerCache> CreateMemoryCache( 59 static scoped_refptr<ServiceWorkerCache> CreatePersistentCache( 92 base::WeakPtr<ServiceWorkerCache> AsWeakPtr(); 95 friend class base::RefCounted<ServiceWorkerCache>; 100 ServiceWorkerCache(const base::FilePath& path, 106 virtual ~ServiceWorkerCache(); 139 base::WeakPtrFactory<ServiceWorkerCache> weak_ptr_factory_; 141 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerCache); [all...] |
H A D | service_worker_cache.cc | 168 const ServiceWorkerCache::ErrorCallback& callback, 174 const ServiceWorkerCache::ErrorCallback& callback, 180 void PutDidWriteBlobToCache(const ServiceWorkerCache::ErrorCallback& callback, 187 const ServiceWorkerCache::ResponseCallback& callback, 193 const ServiceWorkerCache::ResponseCallback& callback, 199 const ServiceWorkerCache::ResponseCallback& callback, 206 const ServiceWorkerCache::ResponseCallback& callback, 213 const ServiceWorkerCache::ErrorCallback& callback, 227 void CreateBackendDidCreate(const ServiceWorkerCache::ErrorCallback& callback, 229 base::WeakPtr<ServiceWorkerCache> cach 839 ServiceWorkerCache::ServiceWorkerCache( function in class:content::ServiceWorkerCache [all...] |
H A D | service_worker_cache_storage.h | 47 typedef base::Callback<void(const scoped_refptr<ServiceWorkerCache>&, 61 // Create a ServiceWorkerCache if it doesn't already exist and call the 91 typedef std::map<std::string, base::WeakPtr<ServiceWorkerCache> > CacheMap; 93 // Return a ServiceWorkerCache for the given name if the name is known. If the 94 // ServiceWorkerCache has been deleted, creates a new one. 95 scoped_refptr<ServiceWorkerCache> GetLoadedCache( 106 base::WeakPtr<ServiceWorkerCache> cache); 112 const scoped_refptr<ServiceWorkerCache>& cache); 114 const scoped_refptr<ServiceWorkerCache>& cache, 130 // The map of cache names to ServiceWorkerCache object [all...] |
H A D | service_worker_cache_listener.h | 62 typedef std::map<CacheID, scoped_refptr<ServiceWorkerCache> > IDToCacheMap; 68 const scoped_refptr<ServiceWorkerCache>& cache, 76 const scoped_refptr<ServiceWorkerCache>& cache, 90 CacheID StoreCacheReference(const scoped_refptr<ServiceWorkerCache>& cache);
|
H A D | service_worker_cache_storage_manager_unittest.cc | 28 callback_cache_error_(ServiceWorkerCache::ErrorTypeOK), 70 const scoped_refptr<ServiceWorkerCache>& cache, 87 ServiceWorkerCache::ErrorType error) { 94 ServiceWorkerCache::ErrorType error, 182 bool CachePut(const scoped_refptr<ServiceWorkerCache>& cache, 198 bool error = callback_cache_error_ != ServiceWorkerCache::ErrorTypeOK; 202 bool CacheMatch(const scoped_refptr<ServiceWorkerCache>& cache, 215 bool error = callback_cache_error_ != ServiceWorkerCache::ErrorTypeOK; 226 scoped_refptr<ServiceWorkerCache> callback_cache_; 229 ServiceWorkerCache [all...] |
H A D | service_worker_cache_storage.cc | 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> CreateServiceWorkerCach [all...] |
H A D | service_worker_cache_unittest.cc | 47 callback_error_(ServiceWorkerCache::ErrorTypeOK) {} 68 cache_ = ServiceWorkerCache::CreateMemoryCache( 73 cache_ = ServiceWorkerCache::CreatePersistentCache( 150 return callback_error_ == ServiceWorkerCache::ErrorTypeOK; 162 return callback_error_ == ServiceWorkerCache::ErrorTypeOK; 174 return callback_error_ == ServiceWorkerCache::ErrorTypeOK; 185 return callback_error_ == ServiceWorkerCache::ErrorTypeOK; 189 ServiceWorkerCache::ErrorType error, 190 scoped_ptr<ServiceWorkerCache::Requests> requests) { 199 ServiceWorkerCache [all...] |
H A D | service_worker_cache_listener.cc | 202 const scoped_refptr<ServiceWorkerCache>& cache, 234 const scoped_refptr<ServiceWorkerCache>& cache, 277 const scoped_refptr<ServiceWorkerCache>& cache) {
|
Completed in 86 milliseconds