/external/chromium_org/cloud_print/service/win/ |
H A D | 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 [all...] |
/external/chromium_org/rlz/test/ |
H A D | 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/tools/crash_service/ |
H A D | 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/browser/extensions/api/messaging/ |
H A D | 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/chrome/browser/ |
H A D | shell_integration_unittest.cc | 84 ScopedTempDir temp_dir; local 85 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 88 env.Set("XDG_DATA_HOME", temp_dir.path().value()); 90 temp_dir.path().AppendASCII(kTemplateFilename), 99 ScopedTempDir temp_dir; local 100 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 103 env.Set("XDG_DATA_DIRS", temp_dir.path().value()); 105 temp_dir.path().AppendASCII("applications"))); 107 temp_dir.path().AppendASCII("applications") 117 ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/build/ |
H A D | extract_from_cab.py | 34 temp_dir = tempfile.mkdtemp(dir=output_dir) 38 level = run_quiet('expand', cab_path, '-F:' + archived_file, temp_dir) 47 os.rename(os.path.join(temp_dir, archived_file), output_file) 49 shutil.rmtree(temp_dir, True)
|
/external/chromium_org/chrome/browser/profiles/ |
H A D | 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 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/test/chromedriver/ |
H A D | 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/chrome/browser/history/ |
H A D | 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/installer/mini_installer/ |
H A D | 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/chrome/installer/util/ |
H A D | 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...] |
H A D | 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/ |
H A D | shell_integration_linux_unittest.cc | 182 base::ScopedTempDir temp_dir; local 183 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 184 base::FilePath desktop_path = temp_dir.path(); 204 base::ScopedTempDir temp_dir; local 205 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 206 base::FilePath apps_path = temp_dir.path().AppendASCII("applications"); 209 env.Set("XDG_DATA_HOME", temp_dir.path().value()); 227 base::ScopedTempDir temp_dir; local 228 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 229 base::FilePath apps_path = temp_dir 290 base::ScopedTempDir temp_dir; local 314 base::ScopedTempDir temp_dir; local 334 base::ScopedTempDir temp_dir; local 398 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
H A D | 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/content/browser/indexed_db/ |
H A D | indexed_db_unittest.cc | 56 base::ScopedTempDir temp_dir; local 57 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 66 temp_dir.path(), special_storage_policy_, NULL, task_runner_); 86 base::ScopedTempDir temp_dir; local 87 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 97 temp_dir.path(), special_storage_policy_, NULL, task_runner_); 145 base::ScopedTempDir temp_dir; local 146 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 157 temp_dir.path(), special_storage_policy_, NULL, task_runner_); 202 base::ScopedTempDir temp_dir; local 229 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/browser/extensions/activity_log/ |
H A D | activity_database_unittest.cc | 173 base::ScopedTempDir temp_dir; local 175 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 176 db_file = temp_dir.path().AppendASCII("ActivityInit.db"); 190 base::ScopedTempDir temp_dir; local 192 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 193 db_file = temp_dir.path().AppendASCII("ActivityRecord.db"); 209 base::ScopedTempDir temp_dir; local 211 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 212 db_file = temp_dir.path().AppendASCII("ActivityRecord.db"); 227 base::ScopedTempDir temp_dir; local 249 base::ScopedTempDir temp_dir; local 271 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium/chrome/browser/sync/util/ |
H A D | user_settings_unittest.cc | 168 ScopedTempDir temp_dir; local 169 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 170 SetUpVersion10Databases(temp_dir.path()); 198 FilePath new_style_path = temp_dir.path().Append( 207 ScopedTempDir temp_dir; local 208 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 209 SetUpVersion11Database(temp_dir.path()); 249 ScopedTempDir temp_dir; local 250 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 252 settings.Init(temp_dir 263 ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/third_party/zlib/google/ |
H A D | zip_unittest.cc | 156 base::ScopedTempDir temp_dir; local 157 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 158 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); 169 base::ScopedTempDir temp_dir; local 170 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 171 base::FilePath zip_file = temp_dir.path().AppendASCII("out.zip"); 182 base::ScopedTempDir temp_dir; local 183 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 186 temp_dir.path().Append(base::FilePath::FromUTF8Unsafe( 189 base::FilePath zip_file = temp_dir 201 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/base/files/ |
H A D | file_unittest.cc | 15 base::ScopedTempDir temp_dir; local 16 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 17 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); 65 file_path = temp_dir.path().AppendASCII("create_file_2"); 78 base::ScopedTempDir temp_dir; local 79 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 80 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); 105 base::ScopedTempDir temp_dir; local 106 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 107 FilePath file_path = temp_dir 177 base::ScopedTempDir temp_dir; local 225 base::ScopedTempDir temp_dir; local 274 base::ScopedTempDir temp_dir; local 337 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/base/ |
H A D | platform_file_unittest.cc | 31 ScopedTempDir temp_dir; local 32 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 33 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); 94 file_path = temp_dir.path().AppendASCII("create_file_2"); 110 ScopedTempDir temp_dir; local 111 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 112 FilePath file_path = temp_dir.path().AppendASCII("create_file_1"); 146 ScopedTempDir temp_dir; local 147 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 148 FilePath file_path = temp_dir 225 ScopedTempDir temp_dir; local 278 ScopedTempDir temp_dir; local 333 ScopedTempDir temp_dir; local 402 ScopedTempDir temp_dir; local [all...] |
/external/chromium_org/chrome/common/importer/ |
H A D | 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/utility/media_galleries/ |
H A D | 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_org/chrome/common/ |
H A D | 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/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A D | fileset.py | 50 with self._filesystem.mkdtemp() as temp_dir: 51 self._fileset.extract(self._filename, temp_dir) 53 src = self._filesystem.join(temp_dir, self._filename)
|
/external/chromium_org/webkit/common/blob/ |
H A D | shareable_file_reference_unittest.cc | 19 base::ScopedTempDir temp_dir; local 20 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 24 base::CreateTemporaryFileInDir(temp_dir.path(), &file);
|