Searched refs:temp_dir (Results 1 - 25 of 157) sorted by relevance

1234567

/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/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/tools/crash_service/
H A Dmain.cc23 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 Dnative_messaging_apitest.cc16 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 Dshell_integration_unittest.cc84 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 Dextract_from_cab.py34 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 Dprofile_browsertest.cc68 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 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/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/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 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/chrome/browser/
H A Dshell_integration_linux_unittest.cc182 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 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()));
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_unittest.cc56 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 Dactivity_database_unittest.cc173 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 Duser_settings_unittest.cc168 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 Dzip_unittest.cc156 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 Dfile_unittest.cc15 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 Dplatform_file_unittest.cc31 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 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/utility/media_galleries/
H A Dpicasa_album_table_reader_unittest.cc16 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 Dservice_process_util_linux.cc54 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 Dfileset.py50 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 Dshareable_file_reference_unittest.cc19 base::ScopedTempDir temp_dir; local
20 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
24 base::CreateTemporaryFileInDir(temp_dir.path(), &file);

Completed in 486 milliseconds

1234567