Lines Matching refs:cache_id
24 virtual void OnCacheLoaded(AppCache* cache, int64 cache_id) OVERRIDE {
26 loaded_cache_id_ = cache_id;
52 int64 cache_id,
59 found_cache_id_ = cache_id;
103 int64 cache_id = service.storage()->NewCacheId();
104 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
108 service.storage()->LoadCache(cache_id, &delegate);
109 EXPECT_EQ(cache_id, delegate.loaded_cache_id_);
171 int64 cache_id = storage->NewCacheId();
172 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
190 EXPECT_NE(cache_id, delegate.loaded_cache_id_);
192 storage->LoadCache(cache_id, &delegate);
193 EXPECT_NE(cache_id, delegate.loaded_cache_id_);
196 EXPECT_EQ(cache_id, delegate.loaded_cache_id_);
222 int64 cache_id = storage->NewCacheId();
223 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
299 int64 cache_id = storage->NewCacheId();
300 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
341 int64 cache_id = storage->NewCacheId();
342 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
383 int64 cache_id = storage->NewCacheId();
384 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id));
390 storage->MarkEntryAsForeign(entry_url, cache_id);