/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/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/tools/crash_service/ |
main.cc | 21 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/browser/ |
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/chrome/browser/extensions/api/messaging/ |
native_messaging_apitest.cc | 16 base::ScopedTempDir temp_dir; local 17 base::FilePath manifest_path = temp_dir.path().AppendASCII(
|
/external/chromium_org/chrome/browser/profiles/ |
profile_browsertest.cc | 65 base::ScopedTempDir temp_dir; local 66 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 72 temp_dir.path(), &delegate, Profile::CREATE_MODE_SYNCHRONOUS)); 82 base::ScopedTempDir temp_dir; local 83 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 84 CreatePrefsFileInDirectory(temp_dir.path()); 90 temp_dir.path(), &delegate, Profile::CREATE_MODE_SYNCHRONOUS)); 100 base::ScopedTempDir temp_dir; local 101 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 107 temp_dir.path(), &delegate, Profile::CREATE_MODE_ASYNCHRONOUS)) 123 base::ScopedTempDir temp_dir; local 144 base::ScopedTempDir temp_dir; local 172 base::ScopedTempDir temp_dir; local 201 base::ScopedTempDir temp_dir; local [all...] |
/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/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/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/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...] |
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/test/webdriver/ |
webdriver_util_unittest.cc | 30 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/browser/ |
shell_integration_unittest.cc | 185 base::ScopedTempDir temp_dir; local 186 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 187 base::FilePath desktop_path = temp_dir.path(); 205 base::ScopedTempDir temp_dir; local 206 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 207 base::FilePath apps_path = temp_dir.path().AppendASCII("applications"); 210 env.Set("XDG_DATA_HOME", temp_dir.path().value()); 226 base::ScopedTempDir temp_dir; local 227 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 228 base::FilePath apps_path = temp_dir.path().AppendASCII("applications") 287 base::ScopedTempDir temp_dir; local 311 base::ScopedTempDir temp_dir; local 331 base::ScopedTempDir temp_dir; local 395 base::ScopedTempDir temp_dir; local [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line_script.py | 8 temp_dir, make_script, compile_script, 101 with temp_dir() as script_dir: 106 with temp_dir() as script_dir: 113 with temp_dir() as script_dir: 118 with temp_dir() as script_dir: 125 with temp_dir() as script_dir: 130 with temp_dir() as script_dir: 136 with temp_dir() as script_dir: 143 with temp_dir() as script_dir: 150 with temp_dir() as script_dir [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_cmd_line_script.py | 8 temp_dir, make_script, compile_script, 101 with temp_dir() as script_dir: 106 with temp_dir() as script_dir: 113 with temp_dir() as script_dir: 118 with temp_dir() as script_dir: 125 with temp_dir() as script_dir: 130 with temp_dir() as script_dir: 136 with temp_dir() as script_dir: 143 with temp_dir() as script_dir: 150 with temp_dir() as script_dir [all...] |
/external/chromium_org/build/ |
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/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/content/browser/indexed_db/ |
indexed_db_unittest.cc | 52 base::ScopedTempDir temp_dir; local 53 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 62 temp_dir.path(), special_storage_policy_, NULL, task_runner_); 82 base::ScopedTempDir temp_dir; local 83 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 93 temp_dir.path(), special_storage_policy_, NULL, task_runner_); 137 base::ScopedTempDir temp_dir; local 138 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 149 temp_dir.path(), special_storage_policy_, NULL, task_runner_);
|
/external/chromium_org/chrome/browser/extensions/activity_log/ |
activity_database_unittest.cc | 175 base::ScopedTempDir temp_dir; local 177 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 178 db_file = temp_dir.path().AppendASCII("ActivityInit.db"); 192 base::ScopedTempDir temp_dir; local 194 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 195 db_file = temp_dir.path().AppendASCII("ActivityRecord.db"); 211 base::ScopedTempDir temp_dir; local 213 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 214 db_file = temp_dir.path().AppendASCII("ActivityRecord.db"); 229 base::ScopedTempDir temp_dir; local 251 base::ScopedTempDir temp_dir; local 273 base::ScopedTempDir temp_dir; local [all...] |
/external/chromium/chrome/browser/sync/util/ |
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.path().AppendASCII("UserSettings.sqlite3")) 263 ScopedTempDir temp_dir; local [all...] |
/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/test/webdriver/test/ |
run_webdriver_java_tests.py | 44 temp_dir = util.MakeTempDir() 46 chrome_path = continuous_archive.DownloadChrome(revision, temp_dir) 48 revision, temp_dir)
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
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/ |
shareable_file_reference_unittest.cc | 19 base::ScopedTempDir temp_dir; local 20 ASSERT_TRUE(temp_dir.CreateUniqueTempDir()); 24 file_util::CreateTemporaryFileInDir(temp_dir.path(), &file);
|