HomeSort by relevance Sort by last modified time
    Searched refs:usage_file_path (Results 1 - 8 of 8) sorted by null

  /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/webkit/browser/fileapi/
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 403 base::FilePath usage_file_path =
406 bool is_valid = usage_cache()->IsValid(usage_file_path);
409 usage_cache()->GetDirty(usage_file_path, &dirty_status);
415 return usage_cache()->GetUsage(usage_file_path, &usage) ? usage : -1;
419 usage_cache()->Delete(usage_file_path);
424 usage_cache()->UpdateUsage(usage_file_path, usage);
500 base::FilePath usage_file_path = GetUsageCachePathForOriginAndType( local
504 usage_cache()->IncrementDirty(usage_file_path);
  /external/chromium_org/webkit/browser/fileapi/quota/
quota_backend_impl.h 90 base::FilePath* usage_file_path);
quota_backend_impl.cc 146 base::FilePath* usage_file_path) {
149 DCHECK(usage_file_path);
151 *usage_file_path =

Completed in 402 milliseconds