Home | History | Annotate | Download | only in file_system

Lines Matching defs:cache_file_path

65 // resource locally, and returns FILE_ERROR_OK with |cache_file_path| storing
68 // returns FILE_ERROR_OK with |cache_file_path| storing the path to the
71 // returns FILE_ERROR_OK, but |cache_file_path| is kept empty.
79 base::FilePath* cache_file_path,
83 DCHECK(cache_file_path);
114 *cache_file_path = gdoc_file_path;
122 // This entry exists on the server, leave |cache_file_path| empty to
144 // Leave |cache_file_path| empty when the stored file is obsolete and has no
154 // Fill |cache_file_path| with the path to the cached file.
155 error = cache->GetFile(local_id, cache_file_path);
164 if (base::GetFileInfo(*cache_file_path, &file_info))
182 base::FilePath* cache_file_path,
190 entry, cache_file_path, temp_download_file_path);
198 base::FilePath* cache_file_path,
207 entry, cache_file_path, temp_download_file_path);
211 // If succeeded, returns FILE_ERROR_OK with |cache_file_path| storing the
221 base::FilePath* cache_file_path) {
256 return cache->GetFile(local_id, cache_file_path);
282 void OnCacheFileFound(const base::FilePath& cache_file_path) {
284 initialized_callback_.Run(FILE_ERROR_OK, cache_file_path,
287 completion_callback_.Run(FILE_ERROR_OK, cache_file_path, entry_.Pass());
306 void OnDownloadCompleted(const base::FilePath& cache_file_path,
308 completion_callback_.Run(FILE_ERROR_OK, cache_file_path, entry.Pass());
371 base::FilePath* cache_file_path = new base::FilePath;
385 cache_file_path,
393 base::Owned(cache_file_path),
412 base::FilePath* cache_file_path = new base::FilePath;
425 cache_file_path,
433 base::Owned(cache_file_path),
442 base::FilePath* cache_file_path,
448 DCHECK(cache_file_path);
456 if (!cache_file_path->empty()) {
458 params->OnCacheFileFound(*cache_file_path);
496 base::FilePath* cache_file_path = new base::FilePath;
507 cache_file_path),
513 base::Owned(cache_file_path)));
520 base::FilePath* cache_file_path,
535 params->OnDownloadCompleted(*cache_file_path, entry_after_update.Pass());