Home
last modified time | relevance | path

Searched refs:temp_path (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/common/extensions/
Dextension_file_util.cc577 FilePath temp_path; in GetUserDataTempDir() local
578 if (!PathService::Get(chrome::DIR_USER_DATA_TEMP, &temp_path)) { in GetUserDataTempDir()
585 } else if (file_util::PathExists(temp_path)) { in GetUserDataTempDir()
588 if (!file_util::DirectoryExists(temp_path)) { in GetUserDataTempDir()
591 } else if (!file_util::PathIsWritable(temp_path)) { in GetUserDataTempDir()
599 } else if (!file_util::CreateDirectory(temp_path)) { in GetUserDataTempDir()
613 return temp_path; in GetUserDataTempDir()
/external/chromium/chrome/browser/extensions/
Dextension_creator.h55 bool CreateZip(const FilePath& extension_dir, const FilePath& temp_path,
Dextension_creator.cc152 const FilePath& temp_path, in CreateZip() argument
154 *zip_path = temp_path.Append(FILE_PATH_LITERAL("extension.zip")); in CreateZip()
/external/chromium/net/url_request/
Durl_request_unittest.cc954 FilePath temp_path; in TEST_F() local
955 EXPECT_TRUE(file_util::CreateTemporaryFile(&temp_path)); in TEST_F()
956 GURL temp_url = FilePathToFileURL(temp_path); in TEST_F()
957 EXPECT_TRUE(file_util::WriteFile(temp_path, buffer.get(), buffer_size)); in TEST_F()
960 EXPECT_TRUE(file_util::GetFileSize(temp_path, &file_size)); in TEST_F()
990 EXPECT_TRUE(file_util::Delete(temp_path, false)); in TEST_F()
998 FilePath temp_path; in TEST_F() local
999 EXPECT_TRUE(file_util::CreateTemporaryFile(&temp_path)); in TEST_F()
1000 GURL temp_url = FilePathToFileURL(temp_path); in TEST_F()
1001 EXPECT_TRUE(file_util::WriteFile(temp_path, buffer.get(), buffer_size)); in TEST_F()
[all …]
/external/chromium/base/
Dfile_util_win.cc387 WCHAR temp_path[MAX_PATH]; in ResolveShortcut() local
394 result = i_shell_link->GetPath(temp_path, MAX_PATH, in ResolveShortcut()
396 *path = FilePath(temp_path); in ResolveShortcut()
546 wchar_t temp_path[MAX_PATH + 1]; in GetTempDir() local
547 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path); in GetTempDir()
553 *path = FilePath(temp_path).StripTrailingSeparators(); in GetTempDir()