/external/chromium_org/cloud_print/service/win/ |
service_ipc_unittest.cc | 19 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.CreateUniqueTempDir()) [all...] |
/external/chromium_org/chrome/browser/extensions/api/messaging/ |
native_messaging_apitest.cc | 16 base::ScopedTempDir temp_dir; local 17 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 18 base::FilePath manifest_path = temp_dir.path().AppendASCII(
|
/external/chromium_org/chrome/installer/mini_installer/ |
decompress_test.cc | 24 base::ScopedTempDir temp_dir; local 25 EXPECT_TRUE(temp_dir.CreateUniqueTempDir()); 27 temp_dir.path().Append(FILE_PATH_LITERAL("setup.exe")));
|
/external/chromium_org/rlz/test/ |
rlz_unittest_main.cc | 33 base::ScopedTempDir temp_dir; local 34 if (temp_dir.CreateUniqueTempDir()) 35 rlz_lib::testing::SetRlzStoreDirectory(temp_dir.path());
|
/external/chromium_org/chrome/installer/util/ |
logging_installer_unittest.cc | 18 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...] |
delete_tree_work_item_unittest.cc | 74 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(),
|
self_cleaning_temp_dir_unittest.cc | 74 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/chrome/browser/extensions/ |
pack_extension_unittest.cc | 32 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()));
|
/external/chromium_org/chrome/browser/history/ |
history_database_unittest.cc | 18 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/ |
util_unittest.cc | 16 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/ |
shareable_file_reference_unittest.cc | 19 base::ScopedTempDir temp_dir; local 20 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 24 base::CreateTemporaryFileInDir(temp_dir.path(), &file);
|
/external/chromium/chrome/browser/extensions/ |
convert_user_script.cc | 55 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.
|
test_extension_prefs.h | 30 const FilePath& temp_dir() const { return temp_dir_.path(); } function in class:TestExtensionPrefs
|
/external/chromium_org/base/ |
path_service_unittest.cc | 153 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.CreateUniqueTempDir()) [all...] |
/external/chromium_org/chrome/browser/chromeos/drive/ |
file_system_util_unittest.cc | 248 base::ScopedTempDir temp_dir; local 249 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 256 base::FilePath file = temp_dir.path().AppendASCII("test.gdoc"); 263 file = temp_dir.path().AppendASCII("test.gsheet"); 270 file = temp_dir.path().AppendASCII("test.gslides"); 277 file = temp_dir.path().AppendASCII("test.gdraw"); 284 file = temp_dir.path().AppendASCII("test.gtable"); 291 file = temp_dir.path().AppendASCII("test.glink"); 298 file = temp_dir.path().AppendASCII("test.txt");
|
/external/chromium_org/chrome/browser/chromeos/file_manager/ |
file_watcher_unittest.cc | 115 base::ScopedTempDir temp_dir; local 116 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 129 temp_dir.path(), 141 ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir.path(), &temp_file_path)); 145 ASSERT_EQ(temp_dir.path().value(), changed_path.value());
|
/external/chromium_org/chrome/browser/net/ |
net_log_temp_file.cc | 140 base::FilePath temp_dir; local 141 if (!GetNetExportLogDirectory(&temp_dir)) 144 log_path_ = temp_dir.Append(log_filename_);
|
/external/chromium_org/chrome/browser/profiles/ |
profile_browsertest.cc | 68 base::ScopedTempDir temp_dir; local 69 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 75 temp_dir.path(), &delegate, Profile::CREATE_MODE_SYNCHRONOUS)); 87 base::ScopedTempDir temp_dir; local 88 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 89 CreatePrefsFileInDirectory(temp_dir.path()); 95 temp_dir.path(), &delegate, Profile::CREATE_MODE_SYNCHRONOUS)); 107 base::ScopedTempDir temp_dir; local 108 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 114 temp_dir.path(), &delegate, Profile::CREATE_MODE_ASYNCHRONOUS)) 132 base::ScopedTempDir temp_dir; local 155 base::ScopedTempDir temp_dir; local 185 base::ScopedTempDir temp_dir; local 216 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/browser/thumbnails/ |
thumbnail_service_unittest.cc | 84 base::ScopedTempDir temp_dir; local 85 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
|
/external/chromium_org/chrome/common/importer/ |
firefox_importer_utils_unittest.cc | 105 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/common/ |
service_process_util_linux.cc | 54 base::FilePath temp_dir; local 55 PathService::Get(base::DIR_TEMP, &temp_dir); 57 std::string pipe_path = temp_dir.Append(pipe_name).value();
|
/external/chromium_org/chrome/tools/crash_service/ |
main.cc | 23 base::FilePath temp_dir; local 24 if (!base::GetTempDir(&temp_dir)) 26 temp_dir = temp_dir.Append(L"chrome_crashes"); 27 if (!base::PathExists(temp_dir)) { 28 if (!base::CreateDirectory(temp_dir)) 31 *dir = temp_dir;
|
/external/chromium_org/chrome/utility/media_galleries/ |
picasa_album_table_reader_unittest.cc | 16 base::ScopedTempDir temp_dir; local 17 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 56 WriteAlbumTable(temp_dir.path(), category_vector, date_vector, 59 AlbumTableFiles album_table_files(temp_dir.path());
|
/external/chromium/chrome/common/ |
zip_unittest.cc | 124 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/ |
kiosk_app_update_service_browsertest.cc | 48 const base::FilePath& temp_dir = temp_dir_.path(); variable 53 const base::FilePath uptime_file = temp_dir.Append("uptime");
|