Searched defs:temp_dir (Results 1 - 25 of 103) sorted by relevance

12345

/external/chromium_org/cloud_print/service/win/
H A Dservice_ipc_unittest.cc19 base::ScopedTempDir temp_dir; local
20 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
22 ServiceListener service(temp_dir.path());
24 EXPECT_EQ(setup.user_data_dir(), temp_dir.path());
29 base::ScopedTempDir temp_dir; local
30 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
31 ServiceListener service(temp_dir.path());
35 EXPECT_EQ(setup.user_data_dir(), temp_dir.path());
40 base::ScopedTempDir temp_dir; local
41 ASSERT_TRUE(temp_dir
[all...]
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_messaging_apitest.cc16 base::ScopedTempDir temp_dir; local
17 base::FilePath manifest_path = temp_dir.path().AppendASCII(
/external/chromium_org/chrome/installer/mini_installer/
H A Ddecompress_test.cc24 base::ScopedTempDir temp_dir; local
25 EXPECT_TRUE(temp_dir.CreateUniqueTempDir());
27 temp_dir.path().Append(FILE_PATH_LITERAL("setup.exe")));
/external/chromium_org/chrome/installer/util/
H A Dlogging_installer_unittest.cc18 base::ScopedTempDir temp_dir; local
19 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
21 base::FilePath temp_file = temp_dir.path().Append(L"temp");
43 base::ScopedTempDir temp_dir; local
44 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
46 base::FilePath temp_file = temp_dir.path().Append(L"temp");
65 base::ScopedTempDir temp_dir; local
66 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
68 base::FilePath temp_file = temp_dir.path().Append(L"temp");
94 base::ScopedTempDir temp_dir; local
[all...]
H A Dmove_tree_work_item.cc19 const base::FilePath& temp_dir,
23 temp_dir_(temp_dir),
17 MoveTreeWorkItem(const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, MoveTreeOption duplicate_option) argument
H A Dcopy_tree_work_item.cc18 const base::FilePath& temp_dir,
23 temp_dir_(temp_dir),
16 CopyTreeWorkItem(const base::FilePath& source_path, const base::FilePath& dest_path, const base::FilePath& temp_dir, CopyOverWriteOption overwrite_option, const base::FilePath& alternative_path) argument
H A Ddelete_tree_work_item_unittest.cc74 base::ScopedTempDir temp_dir; local
75 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
79 WorkItem::CreateDeleteTreeWorkItem(dir_name_delete, temp_dir.path(),
126 base::ScopedTempDir temp_dir; local
127 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
131 WorkItem::CreateDeleteTreeWorkItem(dir_name_delete, temp_dir.path(),
199 base::ScopedTempDir temp_dir; local
200 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
204 WorkItem::CreateDeleteTreeWorkItem(dir_name_delete, temp_dir.path(),
H A Dself_cleaning_temp_dir_unittest.cc74 SelfCleaningTempDir temp_dir; local
75 EXPECT_TRUE(temp_dir.Initialize(parent_temp_dir, L"Three"));
76 EXPECT_EQ(parent_temp_dir.Append(L"Three"), temp_dir.path());
77 EXPECT_TRUE(base::DirectoryExists(temp_dir.path()));
78 EXPECT_TRUE(temp_dir.Delete());
133 SelfCleaningTempDir temp_dir; local
134 EXPECT_TRUE(temp_dir.Initialize(parent_temp_dir, L"Three"));
135 EXPECT_EQ(parent_temp_dir.Append(L"Three"), temp_dir.path());
136 EXPECT_TRUE(base::DirectoryExists(temp_dir.path()));
158 SelfCleaningTempDir temp_dir; local
[all...]
/external/chromium_org/rlz/test/
H A Drlz_unittest_main.cc33 base::ScopedTempDir temp_dir; local
34 if (temp_dir.CreateUniqueTempDir())
35 rlz_lib::testing::SetRlzStoreDirectory(temp_dir.path());
/external/chromium_org/chrome/browser/history/
H A Dhistory_database_unittest.cc18 base::ScopedTempDir temp_dir; local
21 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
22 db_file = temp_dir.path().AppendASCII("DropBookmarks.db");
/external/chromium_org/chrome/test/chromedriver/
H A Dutil_unittest.cc16 base::ScopedTempDir temp_dir; local
17 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
26 Status status = UnzipSoleFile(temp_dir.path(), data, &file);
34 base::ScopedTempDir temp_dir; local
35 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
45 Status status = UnzipSoleFile(temp_dir.path(), data, &file);
/external/chromium_org/webkit/common/blob/
H A Dshareable_file_reference_unittest.cc19 base::ScopedTempDir temp_dir; local
20 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
24 file_util::CreateTemporaryFileInDir(temp_dir.path(), &file);
/external/chromium/chrome/browser/extensions/
H A Dtest_extension_prefs.h30 const FilePath& temp_dir() const { return temp_dir_.path(); } function in class:TestExtensionPrefs
H A Dconvert_user_script.cc55 ScopedTempDir temp_dir; local
56 if (!temp_dir.CreateUniqueTempDirUnderPath(user_data_temp_dir)) {
134 FilePath manifest_path = temp_dir.path().Append(
144 temp_dir.path().AppendASCII("script.js"))) {
150 temp_dir.path(),
160 temp_dir.Take(); // The caller takes ownership of the directory.
/external/chromium_org/base/
H A Dpath_service_unittest.cc153 base::ScopedTempDir temp_dir; local
154 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
155 base::FilePath fake_cache_dir(temp_dir.path().AppendASCII("cache"));
161 base::FilePath fake_cache_dir2(temp_dir.path().AppendASCII("cache2"));
176 base::ScopedTempDir temp_dir; local
177 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
178 base::FilePath fake_cache_dir1(temp_dir.path().AppendASCII("1"));
183 base::FilePath fake_cache_dir2(temp_dir.path().AppendASCII("2"));
206 base::ScopedTempDir temp_dir; local
207 ASSERT_TRUE(temp_dir
[all...]
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
H A Dfile_watcher_unittest.cc115 base::ScopedTempDir temp_dir; local
116 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
129 temp_dir.path(),
141 ASSERT_TRUE(file_util::CreateTemporaryFileInDir(temp_dir.path(),
146 ASSERT_EQ(temp_dir.path().value(), changed_path.value());
/external/chromium_org/chrome/browser/extensions/
H A Dpack_extension_unittest.cc32 base::ScopedTempDir temp_dir; local
33 EXPECT_TRUE(temp_dir.CreateUniqueTempDir());
34 EXPECT_TRUE(base::CopyDirectory(path, temp_dir.path(), true));
37 temp_dir.path().Append(path.BaseName()));
H A Dtest_extension_prefs.h46 const base::FilePath& temp_dir() const { return temp_dir_.path(); } function in class:extensions::TestExtensionPrefs
/external/chromium_org/chrome/browser/policy/cloud/
H A Dresource_cache_unittest.cc30 base::ScopedTempDir temp_dir; local
31 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
32 ResourceCache cache(temp_dir.path());
/external/chromium_org/chrome/common/importer/
H A Dfirefox_importer_utils_unittest.cc105 base::ScopedTempDir temp_dir; local
106 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
108 temp_dir.path().AppendASCII("application.ini"));
113 EXPECT_EQ(GetFirefoxImporterName(temp_dir.path()),
/external/chromium_org/chrome/test/webdriver/
H A Dwebdriver_util_unittest.cc30 base::ScopedTempDir temp_dir; local
31 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
41 ASSERT_TRUE(UnzipSoleFile(temp_dir.path(), data, &file, &error_msg))
/external/chromium_org/chrome/tools/crash_service/
H A Dmain.cc21 base::FilePath temp_dir; local
22 if (!file_util::GetTempDir(&temp_dir))
24 temp_dir = temp_dir.Append(L"chrome_crashes");
25 if (!base::PathExists(temp_dir)) {
26 if (!file_util::CreateDirectory(temp_dir))
29 *dir = temp_dir;
/external/chromium/chrome/common/
H A Dzip_unittest.cc124 ScopedTempDir temp_dir; local
125 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
126 FilePath zip_file = temp_dir.path().AppendASCII("out.zip");
137 ScopedTempDir temp_dir; local
138 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
139 FilePath zip_file = temp_dir.path().AppendASCII("out.zip");
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_app_update_service_browsertest.cc48 const base::FilePath& temp_dir = temp_dir_.path(); variable
53 const base::FilePath uptime_file = temp_dir.Append("uptime");
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfile_system_util_unittest.cc184 base::ScopedTempDir temp_dir; local
185 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
188 temp_dir.path().AppendASCII("persistent");
189 const base::FilePath tmp_directory = temp_dir.path().AppendASCII("tmp");
191 temp_dir.path().Append(kCacheFileDirectory);
205 MigrateCacheFilesFromOldDirectories(temp_dir.path());
268 base::ScopedTempDir temp_dir; local
269 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
276 base::FilePath file = temp_dir.path().AppendASCII("test.gdoc");
283 file = temp_dir
327 base::ScopedTempDir temp_dir; local
[all...]

Completed in 630 milliseconds

12345