Searched refs:dest_directory (Results 1 – 4 of 4) sorted by relevance
99 const base::FilePath dest_directory = temp_dir_.path().AppendASCII("dest"); in TEST_F() local100 EXPECT_TRUE(cache_->RecoverFilesFromCacheDirectory(dest_directory, in TEST_F()104 EXPECT_TRUE(base::PathExists(dest_directory)); in TEST_F()106 if (base::PathExists(dest_directory.AppendASCII("baz00000001.png"))) { in TEST_F()109 dest_directory.AppendASCII("baz00000001.png"))); in TEST_F()112 dest_directory.AppendASCII("image00000002.png"))); in TEST_F()116 dest_directory.AppendASCII("image00000001.png"))); in TEST_F()119 dest_directory.AppendASCII("baz00000002.png"))); in TEST_F()122 dest_directory.AppendASCII("image00000003.png"))); in TEST_F()
146 base::FilePath dest_directory = downloads_directory.Append( in InitializeMetadata() local148 for (int uniquifier = 1; base::PathExists(dest_directory); ++uniquifier) { in InitializeMetadata()149 dest_directory = downloads_directory.Append( in InitializeMetadata()161 << "Recovering cache files to " << dest_directory.value(); in InitializeMetadata()162 if (!cache->RecoverFilesFromCacheDirectory(dest_directory, in InitializeMetadata()
133 const base::FilePath& dest_directory,
433 const base::FilePath& dest_directory, in RecoverFilesFromCacheDirectory() argument515 const base::FilePath& dest_path = dest_directory.Append(dest_base_name) in RecoverFilesFromCacheDirectory()517 if (!base::CreateDirectory(dest_directory) || in RecoverFilesFromCacheDirectory()