Searched refs:temp_path (Results 1 - 25 of 42) sorted by relevance

12

/external/chromium_org/chrome/browser/chromeos/drive/fileapi/
H A Dfileapi_worker_unittest.cc165 base::FilePath temp_path; local
166 base::CreateTemporaryFile(&temp_path);
169 TestFileSystemForOpenFile file_system(temp_path, CREATE_FILE);
174 base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData),
185 base::FilePath temp_path; local
186 base::CreateTemporaryFile(&temp_path);
187 google_apis::test_util::WriteStringToFile(temp_path, kInitialData);
191 TestFileSystemForOpenFile file_system(temp_path, OPEN_OR_CREATE_FILE);
196 base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData),
207 base::FilePath temp_path; local
229 base::FilePath temp_path; local
250 base::FilePath temp_path; local
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dtransient_file_util_unittest.cc80 base::FilePath temp_path; local
82 CreateAndRegisterTemporaryFile(&temp_url, &temp_path);
90 ASSERT_TRUE(base::PathExists(temp_path));
91 ASSERT_FALSE(base::DirectoryExists(temp_path));
98 ASSERT_EQ(temp_path, path);
102 ASSERT_TRUE(base::PathExists(temp_path));
106 ASSERT_EQ(temp_path, path);
114 ASSERT_FALSE(base::PathExists(temp_path));
/external/chromium_org/content/shell/common/
H A Dshell_test_configuration.h24 base::FilePath temp_path; member in struct:content::ShellTestConfiguration
H A Dshell_messages.h22 IPC_STRUCT_TRAITS_MEMBER(temp_path)
/external/chromium_org/components/feedback/
H A Dfeedback_util.cc78 base::FilePath temp_path; local
83 if (!base::CreateNewTempDirectory(base::FilePath::StringType(), &temp_path))
85 if (base::WriteFile(temp_path.Append(filename), data.c_str(), data.size()) ==
90 zip::Zip(temp_path, zip_file, false) &&
93 base::DeleteFile(temp_path, true);
/external/chromium_org/win8/delegate_execute/
H A Dcrash_server_init.cc70 wchar_t temp_path[MAX_PATH + 1] = {0}; local
71 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path);
91 temp_path, NULL, NULL, NULL,
/external/chromium_org/chrome/installer/util/
H A Ddelete_tree_work_item.h32 const base::FilePath& temp_path,
H A Dwork_item.cc73 const base::FilePath& temp_path,
75 return new DeleteTreeWorkItem(root_path, temp_path, key_paths);
71 CreateDeleteTreeWorkItem( const base::FilePath& root_path, const base::FilePath& temp_path, const std::vector<base::FilePath>& key_paths) argument
H A Dwork_item_list.h83 const base::FilePath& temp_path,
88 const base::FilePath& temp_path);
H A Dwork_item_list.cc136 const base::FilePath& temp_path,
138 WorkItem* item = WorkItem::CreateDeleteTreeWorkItem(root_path, temp_path,
145 const base::FilePath& temp_path) {
147 return AddDeleteTreeWorkItem(root_path, temp_path, no_key_files);
134 AddDeleteTreeWorkItem( const base::FilePath& root_path, const base::FilePath& temp_path, const std::vector<base::FilePath>& key_paths) argument
144 AddDeleteTreeWorkItem(const base::FilePath& root_path, const base::FilePath& temp_path) argument
H A Ddelete_tree_work_item.cc32 const base::FilePath& temp_path,
35 temp_path_(temp_path),
30 DeleteTreeWorkItem( const base::FilePath& root_path, const base::FilePath& temp_path, const std::vector<base::FilePath>& key_paths) argument
/external/chromium_org/third_party/webrtc/test/testsupport/
H A Dfileutils.cc74 std::string temp_path = path; local
78 temp_path = path.substr(working_dir.length() + 1);
84 std::replace(temp_path.begin(), temp_path.end(), '/', '\\');
88 temp_path = temp_path.substr(0, temp_path.find_last_of(kPathDelimiter));
89 strncpy(relative_dir_path, temp_path.c_str(), FILENAME_MAX);
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_internals_ui.h48 const base::FilePath temp_path,
53 const base::FilePath& temp_path,
H A Dindexed_db_internals_ui.cc218 base::FilePath temp_path = temp_dir.Take();
222 temp_path.AppendASCII(origin_id).AddExtension(FILE_PATH_LITERAL("zip"));
235 temp_path,
276 const base::FilePath temp_path,
298 temp_path,
346 const base::FilePath& temp_path,
357 item->AddObserver(new FileDeleter(temp_path));
273 OnDownloadDataReady( const base::FilePath& partition_path, const GURL& origin_url, const base::FilePath temp_path, const base::FilePath zip_path, size_t connection_count) argument
343 OnDownloadStarted( const base::FilePath& partition_path, const GURL& origin_url, const base::FilePath& temp_path, size_t connection_count, DownloadItem* item, DownloadInterruptReason interrupt_reason) argument
/external/chromium_org/extensions/common/
H A Dfile_util.cc305 base::FilePath temp_path = extensions_dir.Append(kTempDirectoryName); local
306 if (base::PathExists(temp_path)) {
307 if (!base::DirectoryExists(temp_path)) {
308 DLOG(WARNING) << "Not a directory: " << temp_path.value();
311 if (!base::PathIsWritable(temp_path)) {
312 DLOG(WARNING) << "Can't write to path: " << temp_path.value();
316 return temp_path;
320 if (!base::CreateDirectory(temp_path)) {
321 DLOG(WARNING) << "Couldn't create directory: " << temp_path.value();
324 return temp_path;
[all...]
/external/chromium_org/content/browser/loader/
H A Dresource_loader_unittest.cc487 base::FilePath temp_path() const { return temp_path_; } function in class:content::ResourceLoaderRedirectToFileTest
562 EXPECT_EQ(temp_path(),
573 ASSERT_TRUE(base::ReadFileToString(temp_path(), &contents));
580 EXPECT_FALSE(base::PathExists(temp_path()));
612 EXPECT_EQ(temp_path(),
623 EXPECT_FALSE(base::PathExists(temp_path()));
636 EXPECT_EQ(temp_path(),
647 EXPECT_FALSE(base::PathExists(temp_path()));
668 EXPECT_EQ(temp_path(),
687 EXPECT_FALSE(base::PathExists(temp_path()));
[all...]
/external/chromium_org/cloud_print/common/win/
H A Dinstall_utils.cc198 base::FilePath temp_path;
199 if (!base::CreateTemporaryFile(&temp_path))
201 base::CopyFile(installer_source, temp_path);
202 base::DeleteFileAfterReboot(temp_path);
203 CommandLine command_line(temp_path);
/external/chromium_org/chrome/installer/setup/
H A Dinstall_worker.cc132 const base::FilePath& temp_path,
144 temp_path.value(), WorkItem::ALWAYS);
152 setup_path.value(), active_setup_exe.value(), temp_path.value(),
165 // |temp_path| is in %ProgramFiles% for system level installs (and in
169 if (temp_path.IsParent(archive_path)) {
172 temp_path.value(),
181 temp_path.value(),
431 const base::FilePath& temp_path,
463 uninstall_link, temp_path);
477 const base::FilePath& temp_path,
129 AddInstallerCopyTasks(const InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& temp_path, const Version& new_version, WorkItemList* install_list) argument
428 AddDeleteUninstallShortcutsForMSIWorkItems( const InstallerState& installer_state, const Product& product, const base::FilePath& temp_path, WorkItemList* work_item_list) argument
472 AddChromeWorkItems(const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& src_path, const base::FilePath& temp_path, const Version* current_version, const Version& new_version, WorkItemList* install_list) argument
1099 AppendPostInstallTasks(const InstallerState& installer_state, const base::FilePath& setup_path, const Version* current_version, const Version& new_version, const base::FilePath& temp_path, WorkItemList* post_install_task_list) argument
1246 AddInstallWorkItems(const InstallationState& original_state, const InstallerState& installer_state, const base::FilePath& setup_path, const base::FilePath& archive_path, const base::FilePath& src_path, const base::FilePath& temp_path, const Version* current_version, const Version& new_version, WorkItemList* install_list) argument
[all...]
H A Dinstall_worker.h91 const base::FilePath& temp_path,
103 // temp_path: the path of working directory used during installation. This path
111 const base::FilePath& temp_path,
H A Dsetup_main.cc235 installer::SelfCleaningTempDir temp_path; local
236 if (!temp_path.Initialize(target_path.DirName(),
247 temp_path.path().value(),
251 temp_path.path().value(),
253 install_list->AddDeleteTreeWorkItem(chrome_new_exe, temp_path.path());
255 install_list->AddDeleteTreeWorkItem(chrome_old_exe, temp_path.path())->
286 // temp_path's dtor will take care of deleting or scheduling itself for
288 VLOG(1) << "Deleting temporary directory " << temp_path.path().value();
617 // Initializes |temp_path| to "Temp" within the target directory, and
619 // |temp_path|
620 CreateTemporaryAndUnpackDirectories( const InstallerState& installer_state, installer::SelfCleaningTempDir* temp_path, base::FilePath* unpack_path) argument
990 base::ScopedTempDir temp_path; local
1405 SelfCleaningTempDir temp_path; local
[all...]
H A Dsetup_util.h83 const base::FilePath& temp_path,
/external/chromium_org/chrome/browser/extensions/
H A Dextension_creator.h80 bool CreateZip(const base::FilePath& extension_dir, const base::FilePath& temp_path,
/external/chromium_org/chrome/utility/media_galleries/
H A Dpmp_column_reader_unittest.cc28 base::FilePath temp_path;
29 if (!base::CreateTemporaryFileInDir(temp_dir.path(), &temp_path))
33 size_t bytes_written = base::WriteFile(temp_path, &data[0], data.size());
37 base::File file(temp_path, base::File::FLAG_OPEN | base::File::FLAG_READ);
/external/chromium_org/cloud_print/virtual_driver/win/install/
H A Dsetup.cc192 const base::FilePath* temp_path(
203 temp_path->Append(kDependencyList[i]).value().c_str());
251 base::ScopedTempDir temp_path; local
252 if (!temp_path.CreateUniqueTempDir())
254 ReadyDriverDependencies(temp_path.path());
259 base::FilePath file_path = temp_path.path().Append(kDependencyList[i]);
268 base::FilePath xps_path = temp_path.path().Append(kDriverName);
269 base::FilePath ui_path = temp_path.path().Append(kUiDriverName);
270 base::FilePath ui_help_path = temp_path.path().Append(kHelpName);
/external/chromium_org/content/shell/browser/
H A Dshell_browser_main.cc193 base::FilePath temp_path; local
194 base::GetTempDir(&temp_path);
195 test_controller.SetTempPath(temp_path);

Completed in 769 milliseconds

12