/external/chromium_org/webkit/browser/fileapi/ |
file_system_usage_cache_unittest.cc | 42 base::FilePath usage_file_path = GetUsageFilePath(); local 43 EXPECT_TRUE(usage_cache()->UpdateUsage(usage_file_path, 0)); 48 base::FilePath usage_file_path = GetUsageFilePath(); local 50 ASSERT_TRUE(usage_cache()->UpdateUsage(usage_file_path, size)); 51 EXPECT_TRUE(usage_cache()->GetUsage(usage_file_path, &usage)); 57 base::FilePath usage_file_path = GetUsageFilePath(); local 59 ASSERT_TRUE(usage_cache()->UpdateUsage(usage_file_path, size)); 60 EXPECT_TRUE(usage_cache()->GetUsage(usage_file_path, &usage)); 65 base::FilePath usage_file_path = GetUsageFilePath(); local 68 ASSERT_TRUE(usage_cache()->UpdateUsage(usage_file_path, 98214)) 78 base::FilePath usage_file_path = GetUsageFilePath(); local 89 base::FilePath usage_file_path = GetUsageFilePath(); local 99 base::FilePath usage_file_path = GetUsageFilePath(); local 116 base::FilePath usage_file_path = GetUsageFilePath(); local 130 base::FilePath usage_file_path = GetUsageFilePath(); local 144 base::FilePath usage_file_path = GetUsageFilePath(); local 149 base::FilePath usage_file_path = GetUsageFilePath(); local 154 base::FilePath usage_file_path = GetUsageFilePath(); local [all...] |
file_system_usage_cache.h | 29 bool GetUsage(const base::FilePath& usage_file_path, int64* usage); 33 bool GetDirty(const base::FilePath& usage_file_path, uint32* dirty); 37 bool IncrementDirty(const base::FilePath& usage_file_path); 38 bool DecrementDirty(const base::FilePath& usage_file_path); 42 bool Invalidate(const base::FilePath& usage_file_path); 43 bool IsValid(const base::FilePath& usage_file_path); 46 bool UpdateUsage(const base::FilePath& usage_file_path, int64 fs_usage); 50 bool AtomicUpdateUsageByDelta(const base::FilePath& usage_file_path, 53 bool Exists(const base::FilePath& usage_file_path); 54 bool Delete(const base::FilePath& usage_file_path); [all...] |
file_system_usage_cache.cc | 46 bool FileSystemUsageCache::GetUsage(const base::FilePath& usage_file_path, 54 if (!Read(usage_file_path, &is_valid, &dirty, &usage)) 60 bool FileSystemUsageCache::GetDirty(const base::FilePath& usage_file_path, 68 if (!Read(usage_file_path, &is_valid, &dirty, &usage)) 75 const base::FilePath& usage_file_path) { 81 bool new_handle = !HasCacheFileHandle(usage_file_path); 82 if (!Read(usage_file_path, &is_valid, &dirty, &usage)) 85 bool success = Write(usage_file_path, is_valid, dirty + 1, usage); 87 FlushFile(usage_file_path); 92 const base::FilePath& usage_file_path) { [all...] |
sandbox_quota_observer.cc | 32 base::FilePath usage_file_path = GetUsageCachePath(url); local 33 if (usage_file_path.empty()) 35 file_system_usage_cache_->IncrementDirty(usage_file_path); 50 base::FilePath usage_file_path = GetUsageCachePath(url); local 51 if (usage_file_path.empty()) 54 pending_update_notification_[usage_file_path] += delta; 69 base::FilePath usage_file_path = GetUsageCachePath(url); local 70 if (usage_file_path.empty()) 74 pending_update_notification_.find(usage_file_path); 80 file_system_usage_cache_->DecrementDirty(usage_file_path); [all...] |
sandbox_quota_observer.h | 61 void UpdateUsageCacheFile(const base::FilePath& usage_file_path, int64 delta);
|
sandbox_file_system_backend_delegate.cc | 396 base::FilePath usage_file_path = 399 bool is_valid = usage_cache()->IsValid(usage_file_path); 402 usage_cache()->GetDirty(usage_file_path, &dirty_status); 408 return usage_cache()->GetUsage(usage_file_path, &usage) ? usage : -1; 412 usage_cache()->Delete(usage_file_path); 417 usage_cache()->UpdateUsage(usage_file_path, usage); 493 base::FilePath usage_file_path = GetUsageCachePathForOriginAndType( local 497 usage_cache()->IncrementDirty(usage_file_path);
|
/external/chromium_org/webkit/browser/fileapi/quota/ |
quota_backend_impl.cc | 137 base::FilePath* usage_file_path) { 140 DCHECK(usage_file_path); 142 *usage_file_path =
|
quota_backend_impl.h | 86 base::FilePath* usage_file_path);
|