Home
last modified time | relevance | path

Searched refs:cache_file_path (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/chrome/browser/chromeos/drive/file_system/
Ddownload_operation.cc79 base::FilePath* cache_file_path, in CheckPreConditionForEnsureFileDownloaded() argument
83 DCHECK(cache_file_path); in CheckPreConditionForEnsureFileDownloaded()
114 *cache_file_path = gdoc_file_path; in CheckPreConditionForEnsureFileDownloaded()
155 error = cache->GetFile(local_id, cache_file_path); in CheckPreConditionForEnsureFileDownloaded()
164 if (base::GetFileInfo(*cache_file_path, &file_info)) in CheckPreConditionForEnsureFileDownloaded()
182 base::FilePath* cache_file_path, in CheckPreConditionForEnsureFileDownloadedByLocalId() argument
190 entry, cache_file_path, temp_download_file_path); in CheckPreConditionForEnsureFileDownloadedByLocalId()
198 base::FilePath* cache_file_path, in CheckPreConditionForEnsureFileDownloadedByPath() argument
207 entry, cache_file_path, temp_download_file_path); in CheckPreConditionForEnsureFileDownloadedByPath()
221 base::FilePath* cache_file_path) { in UpdateLocalStateForDownloadFile() argument
[all …]
Ddownload_operation.h91 base::FilePath* cache_file_path,
108 base::FilePath* cache_file_path,
Ddownload_operation_unittest.cc460 base::FilePath cache_file_path; in TEST_F() local
468 &error, &cache_file_path, &entry)); in TEST_F()
473 EXPECT_TRUE(base::GetFileSize(cache_file_path, &cache_file_size)); in TEST_F()
Dcopy_operation_unittest.cc341 base::FilePath cache_file_path; in TEST_F() local
348 &cache_file_path), in TEST_F()
354 EXPECT_TRUE(base::ReadFileToString(cache_file_path, &copied_contents)); in TEST_F()
Dcopy_operation.cc153 base::FilePath cache_file_path; in TryToCopyLocally() local
154 error = cache->GetFile(params->src_entry.local_id(), &cache_file_path); in TryToCopyLocally()
158 return cache->Store(local_id, std::string(), cache_file_path, in TryToCopyLocally()
/external/chromium_org/chrome/browser/chromeos/drive/
Dfake_file_system_unittest.cc38 base::FilePath cache_file_path; in TEST_F() local
49 &initialize_error, &cache_file_path, &entry), in TEST_F()
58 EXPECT_TRUE(cache_file_path.empty()); in TEST_F()
75 &initialize_error, &cache_file_path, &entry), in TEST_F()
84 ASSERT_FALSE(cache_file_path.empty()); in TEST_F()
93 base::ReadFileToString(cache_file_path, &cache_file_content)); in TEST_F()
100 base::FilePath cache_file_path; in TEST_F() local
106 &initialize_error, &cache_file_path, &entry), in TEST_F()
Dfile_cache_unittest.cc190 base::FilePath cache_file_path; in TEST_F() local
191 EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path)); in TEST_F()
194 cache_file_path.value()); in TEST_F()
197 EXPECT_TRUE(base::ReadFileToString(cache_file_path, &contents)); in TEST_F()
205 EXPECT_EQ(FILE_ERROR_NOT_FOUND, cache_->GetFile(id, &cache_file_path)); in TEST_F()
211 EXPECT_EQ(FILE_ERROR_NOT_FOUND, cache_->GetFile(id, &cache_file_path)); in TEST_F()
217 EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path)); in TEST_F()
220 cache_file_path.value()); in TEST_F()
223 EXPECT_TRUE(base::ReadFileToString(cache_file_path, &contents)); in TEST_F()
246 base::FilePath cache_file_path; in TEST_F() local
[all …]
Ddownload_handler.cc39 const base::FilePath& cache_file_path() const { return cache_file_path_; } in cache_file_path() function in drive::__anon16a512a30111::DriveUserData
79 base::FilePath* cache_file_path, in MoveDownloadedFile() argument
85 *cache_file_path = dest_path; in MoveDownloadedFile()
205 return data ? data->cache_file_path() : base::FilePath(); in GetCacheFilePath()
302 base::FilePath* cache_file_path = new base::FilePath; in UploadDownloadItem() local
308 cache_file_path), in UploadDownloadItem()
313 base::Owned(cache_file_path))); in UploadDownloadItem()
318 const base::FilePath* cache_file_path, in SetCacheFilePath() argument
331 data->set_cache_file_path(*cache_file_path); in SetCacheFilePath()
Dfile_cache.h76 FileError GetFile(const std::string& id, base::FilePath* cache_file_path);
94 base::FilePath* cache_file_path);
Dfile_system.cc139 base::FilePath* cache_file_path) { in MarkCacheFileAsMountedInternal() argument
145 return cache->MarkAsMounted(local_id, cache_file_path); in MarkCacheFileAsMountedInternal()
150 base::FilePath* cache_file_path, in RunMarkMountedCallback() argument
153 callback.Run(error, *cache_file_path); in RunMarkMountedCallback()
891 base::FilePath* cache_file_path = new base::FilePath; in MarkCacheFileAsMounted() local
899 cache_file_path), in MarkCacheFileAsMounted()
901 &RunMarkMountedCallback, callback, base::Owned(cache_file_path))); in MarkCacheFileAsMounted()
905 const base::FilePath& cache_file_path, in MarkCacheFileAsUnmounted() argument
910 if (!cache_->IsUnderFileCacheDirectory(cache_file_path)) { in MarkCacheFileAsUnmounted()
920 cache_file_path), in MarkCacheFileAsUnmounted()
Dfile_cache.cc121 base::FilePath* cache_file_path) { in GetFile() argument
123 DCHECK(cache_file_path); in GetFile()
132 *cache_file_path = GetCacheFilePath(id); in GetFile()
232 base::FilePath* cache_file_path) { in MarkAsMounted() argument
234 DCHECK(cache_file_path); in MarkAsMounted()
259 *cache_file_path = path; in MarkAsMounted()
Ddownload_handler.h98 const base::FilePath* cache_file_path,
Ddummy_file_system.h92 const base::FilePath& cache_file_path, in MarkCacheFileAsUnmounted() argument
Dfile_system_interface.h412 const base::FilePath& cache_file_path,
Dfake_file_system.h120 const base::FilePath& cache_file_path,
Dfile_system.h153 const base::FilePath& cache_file_path,
Dfake_file_system.cc212 const base::FilePath& cache_file_path, in MarkCacheFileAsUnmounted() argument
/external/chromium_org/chrome/browser/chromeos/drive/sync/
Dentry_update_performer.cc34 base::FilePath cache_file_path; member
94 error = cache->GetFile(local_id, &local_state->cache_file_path); in PrepareUpdate()
280 local_state->cache_file_path, in UpdateEntryAfterPrepare()
300 local_state->cache_file_path, in UpdateEntryAfterPrepare()
Dentry_update_performer_unittest.cc136 base::FilePath cache_file_path; in TEST_F() local
144 &error, &cache_file_path, &src_entry)); in TEST_F()
/external/chromium_org/components/nacl/browser/
Dnacl_browser.cc311 base::FilePath cache_file_path; in InitValidationCacheFilePath() local
312 browser_delegate_->GetCacheDirectory(&cache_file_path); in InitValidationCacheFilePath()
316 cache_file_path.Append(kValidationCacheFileName); in InitValidationCacheFilePath()
Dpnacl_host.cc126 base::FilePath cache_file_path; in GetCachePath() local
127 browser_delegate->GetCacheDirectory(&cache_file_path); in GetCachePath()
130 return cache_file_path.Append(kTranslationCacheDirectoryName); in GetCachePath()