/external/chromium_org/content/browser/appcache/ |
appcache_working_set.h | 16 class AppCache; 20 // Represents the working set of appcache object instances 32 void AddCache(AppCache* cache); 33 void RemoveCache(AppCache* cache); 34 AppCache* GetCache(int64 id) { 58 typedef base::hash_map<int64, AppCache*> CacheMap;
|
appcache_group.h | 26 class AppCache; 42 // Called just after an appcache update has completed. 71 AppCache* newest_complete_cache() const { return newest_complete_cache_; } 73 void AddCache(AppCache* complete_cache); 74 void RemoveCache(AppCache* cache); 110 typedef std::vector<AppCache*> Caches; 142 AppCache* newest_complete_cache_;
|
appcache_host.h | 12 #include "content/browser/appcache/appcache_group.h" 13 #include "content/browser/appcache/appcache_service_impl.h" 14 #include "content/browser/appcache/appcache_storage.h" 37 class AppCache; 95 // candidates for a main resource load, the appcache preferred by the host 110 // Support for loading resources out of the appcache. 116 // Support for devtools inspecting appcache resources. 131 void AssociateIncompleteCache(AppCache* cache, const GURL& manifest_url); 137 void AssociateCompleteCache(AppCache* cache); 143 // Used to ensure that a loaded appcache survives a frame navigation [all...] |
appcache.h | 15 #include "content/browser/appcache/appcache_database.h" 16 #include "content/browser/appcache/appcache_entry.h" 17 #include "content/browser/appcache/appcache_manifest_parser.h" 37 // host is associated with it, the cache is in an appcache group or the 38 // cache is being created during an appcache upate. 39 class CONTENT_EXPORT AppCache 40 : public base::RefCounted<AppCache> { 45 AppCache(AppCacheStorage* storage, int64 cache_id); 74 // The AppCache owns the collection of executable handlers that have 93 bool IsNewerThan(AppCache* cache) const [all...] |
appcache_group_unittest.cc | 8 #include "content/browser/appcache/appcache.h" 9 #include "content/browser/appcache/appcache_group.h" 10 #include "content/browser/appcache/appcache_host.h" 11 #include "content/browser/appcache/appcache_update_job.h" 12 #include "content/browser/appcache/mock_appcache_service.h" 110 scoped_refptr<AppCache> cache1(new AppCache(service.storage(), 111)); 117 scoped_refptr<AppCache> cache2(new AppCache(service.storage(), 222)) [all...] |
appcache.cc | 5 #include "content/browser/appcache/appcache.h" 11 #include "content/browser/appcache/appcache_executable_handler.h" 12 #include "content/browser/appcache/appcache_group.h" 13 #include "content/browser/appcache/appcache_host.h" 14 #include "content/browser/appcache/appcache_storage.h" 19 AppCache::AppCache(AppCacheStorage* storage, int64 cache_id) 29 AppCache::~AppCache() { [all...] |
mock_appcache_storage.h | 17 #include "content/browser/appcache/appcache.h" 18 #include "content/browser/appcache/appcache_disk_cache.h" 19 #include "content/browser/appcache/appcache_group.h" 20 #include "content/browser/appcache/appcache_response.h" 21 #include "content/browser/appcache/appcache_storage.h" 57 AppCache* newest_cache, 63 AppCache* cache, const GURL& url, 88 typedef base::hash_map<int64, scoped_refptr<AppCache> > StoredCacheMap; 98 scoped_refptr<AppCacheGroup> group, scoped_refptr<AppCache> newest_cache [all...] |
mock_appcache_storage_unittest.cc | 6 #include "content/browser/appcache/appcache.h" 7 #include "content/browser/appcache/appcache_group.h" 8 #include "content/browser/appcache/appcache_response.h" 9 #include "content/browser/appcache/appcache_storage.h" 10 #include "content/browser/appcache/mock_appcache_service.h" 24 virtual void OnCacheLoaded(AppCache* cache, int64 cache_id) OVERRIDE { 36 AppCacheGroup* group, AppCache* newest_cache, bool success, 64 scoped_refptr<AppCache> loaded_cache_; 105 scoped_refptr<AppCache> cache(new AppCache(service.storage(), cache_id)) [all...] |
mock_appcache_storage.cc | 5 #include "content/browser/appcache/mock_appcache_storage.h" 12 #include "content/browser/appcache/appcache.h" 13 #include "content/browser/appcache/appcache_entry.h" 14 #include "content/browser/appcache/appcache_group.h" 15 #include "content/browser/appcache/appcache_response.h" 16 #include "content/browser/appcache/appcache_service_impl.h" 57 AppCache* cache = working_set_.GetCache(id); 84 AppCacheGroup* group, AppCache* newest_cache, Delegate* delegate) { 109 AppCache* cache, const GURL& url [all...] |
appcache_working_set.cc | 5 #include "content/browser/appcache/appcache_working_set.h" 8 #include "content/browser/appcache/appcache.h" 9 #include "content/browser/appcache/appcache_group.h" 10 #include "content/browser/appcache/appcache_response.h" 32 void AppCacheWorkingSet::AddCache(AppCache* cache) { 41 void AppCacheWorkingSet::RemoveCache(AppCache* cache) {
|
appcache_group.cc | 5 #include "content/browser/appcache/appcache_group.h" 12 #include "content/browser/appcache/appcache.h" 13 #include "content/browser/appcache/appcache_host.h" 14 #include "content/browser/appcache/appcache_service_impl.h" 15 #include "content/browser/appcache/appcache_storage.h" 16 #include "content/browser/appcache/appcache_update_job.h" 85 void AppCacheGroup::AddCache(AppCache* complete_cache) { 101 AppCache::AppCacheHosts& hosts = (*it)->associated_hosts(); 102 for (AppCache::AppCacheHosts::iterator host_it = hosts.begin() [all...] |
appcache_host_unittest.cc | 9 #include "content/browser/appcache/appcache.h" 10 #include "content/browser/appcache/appcache_backend_impl.h" 11 #include "content/browser/appcache/appcache_group.h" 12 #include "content/browser/appcache/appcache_host.h" 13 #include "content/browser/appcache/mock_appcache_policy.h" 14 #include "content/browser/appcache/mock_appcache_service.h" 241 scoped_refptr<AppCache> cache = new AppCache(service_.storage(), kCacheId); 272 scoped_refptr<AppCache> cache = new AppCache(service_.storage(), kCacheId) [all...] |
appcache_storage.h | 16 #include "content/browser/appcache/appcache_working_set.h" 25 class AppCache; 47 virtual void OnCacheLoaded(AppCache* cache, int64 cache_id) {} 55 AppCacheGroup* group, AppCache* newest_cache, bool success, 124 AppCacheGroup* group, AppCache* newest_cache, Delegate* delegate) = 0; 136 AppCache* cache, const GURL& url,
|
appcache_storage_impl.h | 18 #include "content/browser/appcache/appcache_database.h" 19 #include "content/browser/appcache/appcache_disk_cache.h" 20 #include "content/browser/appcache/appcache_storage.h" 49 AppCache* newest_cache, 55 AppCache* cache, const GURL& url, 128 scoped_refptr<AppCache> newest_cache,
|
appcache_host.cc | 5 #include "content/browser/appcache/appcache_host.h" 10 #include "content/browser/appcache/appcache.h" 11 #include "content/browser/appcache/appcache_backend_impl.h" 12 #include "content/browser/appcache/appcache_policy.h" 13 #include "content/browser/appcache/appcache_request_handler.h" 21 void FillCacheInfo(const AppCache* cache, 298 // for checking whether the creation of the appcache is allowed. 318 AppCache* cache = associated_cache(); 357 void AppCacheHost::OnCacheLoaded(AppCache* cache, int64 cache_id) [all...] |
appcache_url_request_job.h | 11 #include "content/browser/appcache/appcache_entry.h" 12 #include "content/browser/appcache/appcache_executable_handler.h" 13 #include "content/browser/appcache/appcache_response.h" 14 #include "content/browser/appcache/appcache_storage.h" 29 // in the appcache. 74 // class in the appcache namespace can call it. 125 virtual void OnCacheLoaded(AppCache* cache, int64 cache_id) OVERRIDE; 171 scoped_refptr<AppCache> cache_;
|
appcache_unittest.cc | 5 #include "content/browser/appcache/appcache.h" 6 #include "content/browser/appcache/appcache_host.h" 7 #include "content/browser/appcache/mock_appcache_service.h" 43 scoped_refptr<AppCache> cache(new AppCache(service.storage(), 111)); 61 scoped_refptr<AppCache> cache(new AppCache(service.storage(), 111)); 106 scoped_refptr<AppCache> cache(new AppCache(service.storage(), 1234)) [all...] |
appcache_update_job_unittest.cc | 10 #include "content/browser/appcache/appcache_group.h" 11 #include "content/browser/appcache/appcache_host.h" 12 #include "content/browser/appcache/appcache_response.h" 13 #include "content/browser/appcache/appcache_update_job.h" 14 #include "content/browser/appcache/mock_appcache_service.h" 665 AppCache* cache1 = MakeCacheForGroup(1, 111); 666 AppCache* cache2 = MakeCacheForGroup(2, 222); 760 AppCache* cache = MakeCacheForGroup(1, 111); 830 AppCache* cache = MakeCacheForGroup(service_->storage()->NewCacheId(), 33); 867 AppCache* cache = MakeCacheForGroup(1, 111) [all...] |
appcache_update_job.h | 17 #include "content/browser/appcache/appcache.h" 18 #include "content/browser/appcache/appcache_host.h" 19 #include "content/browser/appcache/appcache_response.h" 20 #include "content/browser/appcache/appcache_service_impl.h" 21 #include "content/browser/appcache/appcache_storage.h" 171 AppCache* newest_cache, 276 scoped_refptr<AppCache> inprogress_cache_; 296 AppCache::EntryMap url_file_list_;
|
appcache_storage_impl.cc | 5 #include "content/browser/appcache/appcache_storage_impl.h" 20 #include "content/browser/appcache/appcache.h" 21 #include "content/browser/appcache/appcache_database.h" 22 #include "content/browser/appcache/appcache_entry.h" 23 #include "content/browser/appcache/appcache_group.h" 24 #include "content/browser/appcache/appcache_histograms.h" 25 #include "content/browser/appcache/appcache_quota_client.h" 26 #include "content/browser/appcache/appcache_response.h" 27 #include "content/browser/appcache/appcache_service_impl.h [all...] |
appcache_update_job.cc | 5 #include "content/browser/appcache/appcache_update_job.h" 13 #include "content/browser/appcache/appcache_group.h" 14 #include "content/browser/appcache/appcache_histograms.h" 624 inprogress_cache_ = new AppCache(storage_, storage_->NewCacheId()); 775 AppCache* cache = inprogress_cache_.get() ? inprogress_cache_.get() [all...] |
appcache_storage_unittest.cc | 6 #include "content/browser/appcache/appcache.h" 7 #include "content/browser/appcache/appcache_group.h" 8 #include "content/browser/appcache/appcache_response.h" 9 #include "content/browser/appcache/appcache_storage.h" 10 #include "content/browser/appcache/mock_appcache_service.h" 29 scoped_refptr<AppCache> cache(new AppCache(service.storage(), 111));
|
/external/chromium_org/content/test/ |
appcache_test_helper.cc | 10 #include "content/browser/appcache/appcache.h" 11 #include "content/browser/appcache/appcache_entry.h" 12 #include "content/browser/appcache/appcache_group.h" 13 #include "content/browser/appcache/appcache_service_impl.h" 28 AppCache* /*newest_cache*/, 41 AppCache* appcache = new AppCache( local 45 appcache->AddEntry(manifest_url, entry) [all...] |
appcache_test_helper.h | 10 #include "content/browser/appcache/appcache_storage.h" 32 AppCache* newest_cache,
|
/external/chromium_org/ui/file_manager/file_manager/common/js/ |
util.js | 594 * AppCache is a persistent timestamped key-value storage backed by 603 util.AppCache = function() {}; 608 util.AppCache.KEY = 'AppCache'; 613 util.AppCache.CAPACITY = 100; 618 util.AppCache.LIFETIME = 30 * 24 * 60 * 60 * 1000; // 30 days. 624 util.AppCache.getValue = function(key, callback) { 625 util.AppCache.read_(function(map) { 638 util.AppCache.update = function(key, value, opt_lifetime) { 639 util.AppCache.read_(function(map) [all...] |