| Index: content/browser/service_worker/service_worker_cache_storage.h
|
| diff --git a/content/browser/service_worker/service_worker_cache_storage.h b/content/browser/service_worker/service_worker_cache_storage.h
|
| index 5618d619a44a651dba8894afd85454515a8ad694..ca2adc3c060bb99ead2daf729850a993dc58e25e 100644
|
| --- a/content/browser/service_worker/service_worker_cache_storage.h
|
| +++ b/content/browser/service_worker/service_worker_cache_storage.h
|
| @@ -116,29 +116,33 @@ class CONTENT_EXPORT ServiceWorkerCacheStorage {
|
| scoped_ptr<ServiceWorkerCache> cache);
|
| static void LazyInitDone(base::WeakPtr<ServiceWorkerCacheStorage> storage);
|
|
|
| - void DidCreateBackend(base::WeakPtr<ServiceWorkerCache> cache,
|
| - CacheID cache_id,
|
| - const CacheAndErrorCallback& callback,
|
| - ServiceWorkerCache::ErrorType error);
|
| + static void DidCreateBackend(base::WeakPtr<ServiceWorkerCache> cache,
|
| + CacheID cache_id,
|
| + const CacheAndErrorCallback& callback,
|
| + ServiceWorkerCache::ErrorType error);
|
|
|
| CacheContext* AddCacheToMaps(const std::string& cache_name,
|
| scoped_ptr<ServiceWorkerCache> cache);
|
|
|
| // The CreateCache callbacks are below.
|
| - void CreateCacheDidCreateCache(const std::string& cache_name,
|
| - const CacheAndErrorCallback& callback,
|
| - scoped_ptr<ServiceWorkerCache> cache);
|
| - void CreateCacheDidWriteIndex(const CacheAndErrorCallback& callback,
|
| - base::WeakPtr<ServiceWorkerCache> cache,
|
| - CacheID id,
|
| - bool success);
|
| + static void CreateCacheDidCreateCache(
|
| + const std::string& cache_name,
|
| + const CacheAndErrorCallback& callback,
|
| + base::WeakPtr<ServiceWorkerCacheStorage> storage,
|
| + scoped_ptr<ServiceWorkerCache> cache);
|
| + static void CreateCacheDidWriteIndex(const CacheAndErrorCallback& callback,
|
| + base::WeakPtr<ServiceWorkerCache> cache,
|
| + CacheID id,
|
| + bool success);
|
|
|
| // The DeleteCache callbacks are below.
|
| - void DeleteCacheDidWriteIndex(const std::string& cache_name,
|
| - const BoolAndErrorCallback& callback,
|
| - bool success);
|
| - void DeleteCacheDidCleanUp(const BoolAndErrorCallback& callback,
|
| - bool success);
|
| + static void DeleteCacheDidWriteIndex(
|
| + const std::string& cache_name,
|
| + const BoolAndErrorCallback& callback,
|
| + base::WeakPtr<ServiceWorkerCacheStorage> storage,
|
| + bool success);
|
| + static void DeleteCacheDidCleanUp(const BoolAndErrorCallback& callback,
|
| + bool success);
|
|
|
| // Whether or not we've loaded the list of cache names into memory.
|
| bool initialized_;
|
|
|