/external/chromium_org/content/browser/fileapi/ |
file_system_usage_cache_unittest.cc | 44 base::FilePath usage_file_path = GetUsageFilePath(); local 45 EXPECT_TRUE(usage_cache()->UpdateUsage(usage_file_path, 0)); 50 base::FilePath usage_file_path = GetUsageFilePath(); local 52 ASSERT_TRUE(usage_cache()->UpdateUsage(usage_file_path, size)); 53 EXPECT_TRUE(usage_cache()->GetUsage(usage_file_path, &usage)); 59 base::FilePath usage_file_path = GetUsageFilePath(); local 61 ASSERT_TRUE(usage_cache()->UpdateUsage(usage_file_path, size)); 62 EXPECT_TRUE(usage_cache()->GetUsage(usage_file_path, &usage)); 67 base::FilePath usage_file_path = GetUsageFilePath(); local 70 ASSERT_TRUE(usage_cache()->UpdateUsage(usage_file_path, 98214)) 80 base::FilePath usage_file_path = GetUsageFilePath(); local 91 base::FilePath usage_file_path = GetUsageFilePath(); local 101 base::FilePath usage_file_path = GetUsageFilePath(); local 118 base::FilePath usage_file_path = GetUsageFilePath(); local 132 base::FilePath usage_file_path = GetUsageFilePath(); local 146 base::FilePath usage_file_path = GetUsageFilePath(); local 151 base::FilePath usage_file_path = GetUsageFilePath(); local 156 base::FilePath usage_file_path = GetUsageFilePath(); local [all...] |
/external/chromium_org/storage/browser/fileapi/ |
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 | 33 base::FilePath usage_file_path = GetUsageCachePath(url); local 34 if (usage_file_path.empty()) 36 file_system_usage_cache_->IncrementDirty(usage_file_path); 51 base::FilePath usage_file_path = GetUsageCachePath(url); local 52 if (usage_file_path.empty()) 55 pending_update_notification_[usage_file_path] += delta; 70 base::FilePath usage_file_path = GetUsageCachePath(url); local 71 if (usage_file_path.empty()) 75 pending_update_notification_.find(usage_file_path); 81 file_system_usage_cache_->DecrementDirty(usage_file_path); [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...] |
sandbox_file_system_backend_delegate.cc | 400 base::FilePath usage_file_path = 403 bool is_valid = usage_cache()->IsValid(usage_file_path); 406 usage_cache()->GetDirty(usage_file_path, &dirty_status); 412 return usage_cache()->GetUsage(usage_file_path, &usage) ? usage : -1; 416 usage_cache()->Delete(usage_file_path); 421 usage_cache()->UpdateUsage(usage_file_path, usage); 497 base::FilePath usage_file_path = GetUsageCachePathForOriginAndType( local 501 usage_cache()->IncrementDirty(usage_file_path);
|
sandbox_quota_observer.h | 60 void UpdateUsageCacheFile(const base::FilePath& usage_file_path, int64 delta);
|
/external/chromium_org/storage/browser/fileapi/quota/ |
quota_backend_impl.h | 89 base::FilePath* usage_file_path);
|
quota_backend_impl.cc | 153 base::FilePath* usage_file_path) { 156 DCHECK(usage_file_path); 158 *usage_file_path =
|