Home
last modified time | relevance | path

Searched refs:FileCache (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/drive/
Dfile_cache.cc42 FileCache::FileCache(ResourceMetadataStorage* storage, in FileCache() function in drive::internal::FileCache
55 FileCache::~FileCache() { in ~FileCache()
61 base::FilePath FileCache::GetCacheFilePath(const std::string& id) const { in GetCacheFilePath()
66 void FileCache::AssertOnSequencedWorkerPool() { in AssertOnSequencedWorkerPool()
70 bool FileCache::IsUnderFileCacheDirectory(const base::FilePath& path) const { in IsUnderFileCacheDirectory()
74 bool FileCache::FreeDiskSpaceIfNeededFor(int64 num_bytes) { in FreeDiskSpaceIfNeededFor()
120 FileError FileCache::GetFile(const std::string& id, in GetFile()
136 FileError FileCache::Store(const std::string& id, in Store()
192 FileError FileCache::Pin(const std::string& id) { in Pin()
204 FileError FileCache::Unpin(const std::string& id) { in Unpin()
[all …]
Dfile_cache_unittest.cc51 cache_.reset(new FileCache( in SetUp()
59 static bool RenameCacheFilesToNewFormat(FileCache* cache) { in RenameCacheFilesToNewFormat()
69 scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_;
84 FileCache::FILE_OPERATION_COPY)); in TEST_F()
137 FileCache::FILE_OPERATION_COPY)); in TEST_F()
148 FileCache::FILE_OPERATION_COPY)); in TEST_F()
189 FileCache::FILE_OPERATION_COPY)); in TEST_F()
215 FileCache::FILE_OPERATION_COPY)); in TEST_F()
240 id, md5, src_file_path, FileCache::FILE_OPERATION_COPY)); in TEST_F()
253 FileCache::FILE_OPERATION_COPY)); in TEST_F()
[all …]
Dfile_cache.h38 class FileCache {
56 FileCache(ResourceMetadataStorage* storage,
140 ~FileCache();
183 base::WeakPtrFactory<FileCache> weak_ptr_factory_;
184 DISALLOW_COPY_AND_ASSIGN(FileCache);
Dremove_stale_cache_files_unittest.cc34 cache_.reset(new FileCache(metadata_storage_.get(), in SetUp()
53 scoped_ptr<FileCache, test_util::DestroyHelperForTests> cache_;
74 FileCache::FILE_OPERATION_COPY)); in TEST_F()
101 FileCache::FILE_OPERATION_COPY)); in TEST_F()
Dremove_stale_cache_files.h11 class FileCache; variable
16 void RemoveStaleCacheFiles(FileCache* cache,
Dresource_metadata.h27 class FileCache; variable
38 FileCache* cache,
135 FileCache* cache_;
Dsync_client.h39 class FileCache; variable
55 FileCache* cache,
154 FileCache* cache_;
Ddrive_integration_service.h38 class FileCache; variable
173 scoped_ptr<internal::FileCache, util::DestroyHelper> cache_;
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Dremove_operation.h25 class FileCache; variable
40 internal::FileCache* cache);
62 internal::FileCache* cache_;
Dtruncate_operation.h25 class FileCache; variable
44 internal::FileCache* cache,
72 internal::FileCache* cache_;
Dopen_file_operation.h30 class FileCache; variable
45 internal::FileCache* cache,
88 internal::FileCache* cache_;
Dget_file_for_saving_operation.h23 class FileCache; variable
50 internal::FileCache* cache,
94 internal::FileCache* cache_;
Ddownload_operation.h31 class FileCache; variable
45 internal::FileCache* cache,
118 internal::FileCache* cache_;
Dcopy_operation.h33 class FileCache; variable
51 internal::FileCache* cache,
155 internal::FileCache* cache_;
Doperation_test_base.h34 class FileCache; variable
122 internal::FileCache* cache() { return cache_.get(); } in cache()
144 scoped_ptr<internal::FileCache, test_util::DestroyHelperForTests> cache_;
Ddownload_operation.cc49 FileError PrepareForDownloadFile(internal::FileCache* cache, in PrepareForDownloadFile()
76 internal::FileCache* cache, in CheckPreConditionForEnsureFileDownloaded()
137 internal::FileCache::FILE_OPERATION_MOVE); in CheckPreConditionForEnsureFileDownloaded()
174 internal::FileCache* cache;
218 internal::FileCache* cache, in UpdateLocalStateForDownloadFile()
249 internal::FileCache::FILE_OPERATION_MOVE); in UpdateLocalStateForDownloadFile()
345 internal::FileCache* cache, in DownloadOperation()
Dopen_file_operation.cc33 internal::FileCache* cache, in OpenFileOperation()
130 base::Bind(&internal::FileCache::OpenForWrite, in OpenFileAfterFileDownloaded()
180 base::Bind(&internal::FileCache::FreeDiskSpaceIfNeededFor, in CloseFile()
Dget_file_for_saving_operation.cc28 internal::FileCache* cache, in OpenCacheFileForWrite()
46 internal::FileCache* cache, in GetFileForSavingOperation()
203 base::Bind(&internal::FileCache::FreeDiskSpaceIfNeededFor, in OnWriteEvent()
Dremove_operation.cc24 internal::FileCache* cache, in UpdateLocalState()
65 internal::FileCache* cache) in RemoveOperation()
Ddownload_operation_unittest.cc193 base::Bind(&internal::FileCache::Store, in TEST_F()
198 internal::FileCache::FILE_OPERATION_COPY), in TEST_F()
355 base::Bind(&internal::FileCache::Store, in TEST_F()
360 internal::FileCache::FILE_OPERATION_COPY), in TEST_F()
402 base::Bind(&internal::FileCache::Store, in TEST_F()
407 internal::FileCache::FILE_OPERATION_COPY), in TEST_F()
Dtruncate_operation.cc32 internal::FileCache* cache, in TruncateOnBlockingPool()
62 internal::FileCache* cache, in TruncateOperation()
Dtruncate_operation_unittest.cc54 base::Bind(&internal::FileCache::GetFile, in TEST_F()
117 base::Bind(&internal::FileCache::GetFile, in TEST_F()
/external/chromium_org/chrome/browser/chromeos/drive/sync/
Dentry_update_performer.h37 class FileCache; variable
49 FileCache* cache,
88 FileCache* cache_;
Dentry_update_performer.cc42 FileCache* cache, in PrepareUpdate()
67 FileCache::FILE_OPERATION_MOVE); in PrepareUpdate()
119 FileCache* cache, in FinishUpdate()
187 FileCache* cache, in EntryUpdatePerformer()
/external/lldb/include/lldb/Core/
DSourceManager.h105 typedef std::map <FileSpec, FileSP> FileCache; typedef
106 FileCache m_file_cache;

12