Searched defs:usage_file_path (Results 1 - 5 of 5) sorted by relevance
/external/chromium_org/content/browser/fileapi/ |
H A D | 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, 9821 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/ |
H A D | 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); 132 UpdateUsageCacheFile( const base::FilePath& usage_file_path, int64 delta) argument [all...] |
H A D | file_system_usage_cache.cc | 46 bool FileSystemUsageCache::GetUsage(const base::FilePath& usage_file_path, argument 54 if (!Read(usage_file_path, &is_valid, &dirty, &usage)) 60 bool FileSystemUsageCache::GetDirty(const base::FilePath& usage_file_path, argument 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) { 74 IncrementDirty( const base::FilePath& usage_file_path) argument 91 DecrementDirty( const base::FilePath& usage_file_path) argument 107 Invalidate(const base::FilePath& usage_file_path) argument 119 IsValid(const base::FilePath& usage_file_path) argument 130 AtomicUpdateUsageByDelta( const base::FilePath& usage_file_path, int64 delta) argument 142 UpdateUsage(const base::FilePath& usage_file_path, int64 fs_usage) argument 149 Exists(const base::FilePath& usage_file_path) argument 155 Delete(const base::FilePath& usage_file_path) argument 169 Read(const base::FilePath& usage_file_path, bool* is_valid, uint32* dirty_out, int64* usage_out) argument 205 Write(const base::FilePath& usage_file_path, bool is_valid, int32 dirty, int64 usage) argument [all...] |
H A D | 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);
|
/external/chromium_org/storage/browser/fileapi/quota/ |
H A D | quota_backend_impl.cc | 153 base::FilePath* usage_file_path) { 156 DCHECK(usage_file_path); 158 *usage_file_path = 150 GetUsageCachePath( const GURL& origin, FileSystemType type, base::FilePath* usage_file_path) argument
|
Completed in 1393 milliseconds