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 7e0c39e1381032a4822c891fc395f0535fd63ec8..5618d619a44a651dba8894afd85454515a8ad694 100644 |
--- a/content/browser/service_worker/service_worker_cache_storage.h |
+++ b/content/browser/service_worker/service_worker_cache_storage.h |
@@ -103,16 +103,18 @@ class CONTENT_EXPORT ServiceWorkerCacheStorage { |
// Initializer and its callback are below. |
void LazyInit(const base::Closure& closure); |
- void LazyInitDidLoadIndex( |
+ static void LazyInitDidLoadIndex( |
const base::Closure& callback, |
+ base::WeakPtr<ServiceWorkerCacheStorage> storage, |
scoped_ptr<std::vector<std::string> > indexed_cache_names); |
- void LazyInitIterateAndLoadCacheName( |
+ static void LazyInitIterateAndLoadCacheName( |
const base::Closure& callback, |
+ base::WeakPtr<ServiceWorkerCacheStorage> storage, |
scoped_ptr<std::vector<std::string> > indexed_cache_names, |
const std::vector<std::string>::const_iterator& iter, |
const std::string& cache_name, |
scoped_ptr<ServiceWorkerCache> cache); |
- void LazyInitDone(); |
+ static void LazyInitDone(base::WeakPtr<ServiceWorkerCacheStorage> storage); |
void DidCreateBackend(base::WeakPtr<ServiceWorkerCache> cache, |
CacheID cache_id, |