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

/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.
H A Dconvert_web_app.cc94 ScopedTempDir temp_dir; local
95 if (!temp_dir.CreateUniqueTempDirUnderPath(user_data_temp_dir)) {
136 FilePath manifest_path = temp_dir.path().Append(
145 FilePath icons_dir = temp_dir.path().AppendASCII(kIconsDirName);
171 temp_dir.path(),
181 temp_dir.Take(); // The caller takes ownership of the directory.
H A Dsandboxed_extension_unpacker_unittest.cc28 void OnUnpackSuccess(const FilePath& temp_dir, argument
31 // Don't delete temp_dir here, we need to do some post op checking.
42 void(const FilePath& temp_dir,
H A Dcrx_installer.cc296 void CrxInstaller::OnUnpackSuccess(const FilePath& temp_dir, argument
301 // Note: We take ownership of |extension| and |temp_dir|.
303 temp_dir_ = temp_dir;
H A Dextension_service_unittest.cc543 ScopedTempDir temp_dir; local
544 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
1502 ScopedTempDir temp_dir; local
1503 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
1504 FilePath output_directory = temp_dir.path();
1547 ScopedTempDir temp_dir; local
1548 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
1579 FilePath output_dir = temp_dir.path().Append(punctuated_names[i]);
1585 FilePath expected_crx_path = temp_dir.path().Append(expected_crx_names[i]);
1587 temp_dir
1626 ScopedTempDir temp_dir; local
[all...]
/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/chrome/browser/safe_browsing/
H A Dsafe_browsing_store_file_unittest.cc23 FilePath temp_dir; local
24 ASSERT_TRUE(file_util::CreateNewTempDirectory(kFolderPrefix, &temp_dir));
26 file_deleter_.reset(new FileAutoDeleter(temp_dir));
28 filename_ = temp_dir;
/external/chromium/chrome/browser/tab_contents/
H A Dthumbnail_generator_unittest.cc329 ScopedTempDir temp_dir; local
330 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
/external/chromium/base/
H A Dplatform_file_unittest.cc62 ScopedTempDir temp_dir; local
63 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
64 FilePath file_path = temp_dir.path().AppendASCII("create_file_1");
115 file_path = temp_dir.path().AppendASCII("create_file_2");
131 ScopedTempDir temp_dir; local
132 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
133 FilePath file_path = temp_dir.path().AppendASCII("read_write_file");
203 ScopedTempDir temp_dir; local
204 ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
205 FilePath file_path = temp_dir
253 ScopedTempDir temp_dir; local
[all...]
H A Dshared_memory_posix.cc290 FilePath temp_dir; local
291 if (!file_util::GetShmemTempDir(&temp_dir))
294 *path = temp_dir.AppendASCII("com.google.chrome.shmem." + mem_name);
H A Dfile_util_unittest.cc425 // temp_dir
433 // |-> to_sub_a (reparse point to temp_dir\base_a\sub_a)
434 // |-> to_base_b (reparse point to temp_dir\base_b)
435 // |-> to_sub_long (reparse point to temp_dir\sub_a\long_name_\sub_long)
1506 FilePath temp_dir; local
1508 &temp_dir));
1509 EXPECT_TRUE(file_util::PathExists(temp_dir));
1510 EXPECT_TRUE(file_util::Delete(temp_dir, false));
/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...]
H A Dshell_integration_linux.cc76 ScopedTempDir temp_dir;
77 if (!temp_dir.CreateUniqueTempDir())
80 FilePath temp_file_path = temp_dir.path().Append(
154 ScopedTempDir temp_dir; local
155 if (!temp_dir.CreateUniqueTempDir())
158 FilePath temp_file_path = temp_dir.path().Append(shortcut_filename);
/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/qemu/android/utils/
H A Dtempfile.c61 char temp_dir[MAX_PATH]; local
62 char *p = temp_dir, *end = p + sizeof(temp_dir);
71 retval = GetTempFileName(temp_dir, "TMP", 0, temp_namebuff);
73 D( "can't create temporary file in '%s'", temp_dir );
/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Dautoinstall.py70 target_dir=None, temp_dir=None):
84 temp_dir: The directory path to use for any temporary files
100 self._temp_dir = temp_dir
193 temp_dir = self._temp_dir
194 if temp_dir is None or os.path.exists(temp_dir):
197 self._create_directory(temp_dir, "autoinstall temp")
504 temp_dir = os.path.join(target_dir, "Temp") variable in class:AutoInstaller
507 temp_dir=temp_dir)
[all...]
/external/qemu/
H A Dblock.c226 char temp_dir[MAX_PATH]; local
228 GetTempPath(MAX_PATH, temp_dir);
229 GetTempFileName(temp_dir, "qem", 0, filename);

Completed in 472 milliseconds