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

/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfake_file_system_unittest.cc38 base::FilePath cache_file_path; local
49 &initialize_error, &cache_file_path, &entry),
58 EXPECT_TRUE(cache_file_path.empty());
75 &initialize_error, &cache_file_path, &entry),
84 ASSERT_FALSE(cache_file_path.empty());
93 base::ReadFileToString(cache_file_path, &cache_file_content));
100 base::FilePath cache_file_path; local
106 &initialize_error, &cache_file_path, &entry),
H A Ddownload_handler.cc39 const base::FilePath& cache_file_path() const { return cache_file_path_; } function in class:drive::__anon3059::DriveUserData
79 base::FilePath* cache_file_path,
85 *cache_file_path = dest_path;
205 return data ? data->cache_file_path() : base::FilePath();
302 base::FilePath* cache_file_path = new base::FilePath; local
308 cache_file_path),
313 base::Owned(cache_file_path)));
318 const base::FilePath* cache_file_path,
331 data->set_cache_file_path(*cache_file_path);
78 MoveDownloadedFile(const base::FilePath& downloaded_file, base::FilePath* cache_file_path, FileError error, const base::FilePath& dest_path) argument
316 SetCacheFilePath(void* manager_id, int id, const base::FilePath* cache_file_path, FileError error) argument
H A Dfile_cache_unittest.cc190 base::FilePath cache_file_path; local
191 EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path));
194 cache_file_path.value());
197 EXPECT_TRUE(base::ReadFileToString(cache_file_path, &contents));
205 EXPECT_EQ(FILE_ERROR_NOT_FOUND, cache_->GetFile(id, &cache_file_path));
211 EXPECT_EQ(FILE_ERROR_NOT_FOUND, cache_->GetFile(id, &cache_file_path));
217 EXPECT_EQ(FILE_ERROR_OK, cache_->GetFile(id, &cache_file_path));
220 cache_file_path.value());
223 EXPECT_TRUE(base::ReadFileToString(cache_file_path, &contents));
246 base::FilePath cache_file_path; local
337 base::FilePath cache_file_path; local
418 base::FilePath cache_file_path; local
492 base::FilePath cache_file_path; local
[all...]
H A Dfile_cache.h74 // FILE_ERROR_OK with |cache_file_path| storing the path to the file.
75 // |cache_file_path| must not be null.
76 FileError GetFile(const std::string& id, base::FilePath* cache_file_path);
94 base::FilePath* cache_file_path);
H A Ddownload_handler.h95 // Sets |cache_file_path| as user data of the download item specified by |id|.
98 const base::FilePath* cache_file_path,
H A Dfile_system.cc139 base::FilePath* cache_file_path) {
145 return cache->MarkAsMounted(local_id, cache_file_path);
150 base::FilePath* cache_file_path,
153 callback.Run(error, *cache_file_path);
891 base::FilePath* cache_file_path = new base::FilePath; local
899 cache_file_path),
901 &RunMarkMountedCallback, callback, base::Owned(cache_file_path)));
905 const base::FilePath& cache_file_path,
910 if (!cache_->IsUnderFileCacheDirectory(cache_file_path)) {
920 cache_file_path),
135 MarkCacheFileAsMountedInternal( internal::ResourceMetadata* resource_metadata, internal::FileCache* cache, const base::FilePath& drive_file_path, base::FilePath* cache_file_path) argument
149 RunMarkMountedCallback(const MarkMountedCallback& callback, base::FilePath* cache_file_path, FileError error) argument
904 MarkCacheFileAsUnmounted( const base::FilePath& cache_file_path, const FileOperationCallback& callback) argument
[all...]
H A Dfile_cache.cc121 base::FilePath* cache_file_path) {
123 DCHECK(cache_file_path);
132 *cache_file_path = GetCacheFilePath(id);
232 base::FilePath* cache_file_path) {
234 DCHECK(cache_file_path);
259 *cache_file_path = path;
120 GetFile(const std::string& id, base::FilePath* cache_file_path) argument
231 MarkAsMounted(const std::string& id, base::FilePath* cache_file_path) argument
H A Ddummy_file_system.h92 const base::FilePath& cache_file_path,
H A Dfake_file_system.h120 const base::FilePath& cache_file_path,
H A Dfile_system_interface.h412 const base::FilePath& cache_file_path,
H A Dfile_system.h153 const base::FilePath& cache_file_path,
H A Dfake_file_system.cc212 const base::FilePath& cache_file_path,
211 MarkCacheFileAsUnmounted( const base::FilePath& cache_file_path, const FileOperationCallback& callback) argument
/external/chromium_org/chrome/browser/chromeos/drive/file_system/
H A Ddownload_operation.cc65 // 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);
73 CheckPreConditionForEnsureFileDownloaded( internal::ResourceMetadata* metadata, internal::FileCache* cache, const base::FilePath& temporary_file_directory, const std::string& local_id, ResourceEntry* entry, base::FilePath* cache_file_path, base::FilePath* temp_download_file_path) argument
178 CheckPreConditionForEnsureFileDownloadedByLocalId( const CheckPreconditionForEnsureFileDownloadedParams& params, const std::string& local_id, base::FilePath* drive_file_path, base::FilePath* cache_file_path, base::FilePath* temp_download_file_path, ResourceEntry* entry) argument
195 CheckPreConditionForEnsureFileDownloadedByPath( const CheckPreconditionForEnsureFileDownloadedParams& params, const base::FilePath& file_path, base::FilePath* cache_file_path, base::FilePath* temp_download_file_path, ResourceEntry* entry) argument
214 UpdateLocalStateForDownloadFile( internal::ResourceMetadata* metadata, internal::FileCache* cache, const ResourceEntry& entry_before_download, google_apis::GDataErrorCode gdata_error, const base::FilePath& downloaded_file_path, ResourceEntry* entry_after_update, base::FilePath* cache_file_path) argument
282 OnCacheFileFound(const base::FilePath& cache_file_path) argument
306 OnDownloadCompleted(const base::FilePath& cache_file_path, scoped_ptr<ResourceEntry> entry) const argument
371 base::FilePath* cache_file_path = new base::FilePath; local
412 base::FilePath* cache_file_path = new base::FilePath; local
438 EnsureFileDownloadedAfterCheckPreCondition( scoped_ptr<DownloadParams> params, const ClientContext& context, base::FilePath* drive_file_path, base::FilePath* cache_file_path, base::FilePath* temp_download_file_path, FileError error) argument
496 base::FilePath* cache_file_path = new base::FilePath; local
516 EnsureFileDownloadedAfterUpdateLocalState( const base::FilePath& file_path, scoped_ptr<DownloadParams> params, scoped_ptr<ResourceEntry> entry_after_update, base::FilePath* cache_file_path, FileError error) argument
[all...]
H A Ddownload_operation.h91 base::FilePath* cache_file_path,
108 base::FilePath* cache_file_path,
H A Dcopy_operation.cc153 base::FilePath cache_file_path; local
154 error = cache->GetFile(params->src_entry.local_id(), &cache_file_path);
158 return cache->Store(local_id, std::string(), cache_file_path,
H A Dcopy_operation_unittest.cc341 base::FilePath cache_file_path; local
348 &cache_file_path),
354 EXPECT_TRUE(base::ReadFileToString(cache_file_path, &copied_contents));
H A Ddownload_operation_unittest.cc460 base::FilePath cache_file_path; local
468 &error, &cache_file_path, &entry));
473 EXPECT_TRUE(base::GetFileSize(cache_file_path, &cache_file_size));
/external/chromium_org/chrome/browser/chromeos/drive/sync/
H A Dentry_update_performer.cc34 base::FilePath cache_file_path; member in struct:drive::internal::EntryUpdatePerformer::LocalState
94 error = cache->GetFile(local_id, &local_state->cache_file_path);
280 local_state->cache_file_path,
300 local_state->cache_file_path,
H A Dentry_update_performer_unittest.cc136 base::FilePath cache_file_path; local
144 &error, &cache_file_path, &src_entry));
/external/chromium_org/components/nacl/browser/
H A Dnacl_browser.cc311 base::FilePath cache_file_path; local
312 browser_delegate_->GetCacheDirectory(&cache_file_path);
316 cache_file_path.Append(kValidationCacheFileName);
H A Dpnacl_host.cc126 base::FilePath cache_file_path; local
127 browser_delegate->GetCacheDirectory(&cache_file_path);
130 return cache_file_path.Append(kTranslationCacheDirectoryName);

Completed in 1737 milliseconds