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

12

/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfileapi_worker_unittest.cc172 base::FilePath temp_path; local
173 base::CreateTemporaryFile(&temp_path);
176 TestFileSystemForOpenFile file_system(temp_path, CREATE_FILE);
181 base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData),
192 base::FilePath temp_path; local
193 base::CreateTemporaryFile(&temp_path);
194 google_apis::test_util::WriteStringToFile(temp_path, kInitialData);
198 TestFileSystemForOpenFile file_system(temp_path, OPEN_OR_CREATE_FILE);
203 base::Bind(&VerifyWrite, kExpectedSize, temp_path, kWriteData),
214 base::FilePath temp_path; local
236 base::FilePath temp_path; local
257 base::FilePath temp_path; local
[all...]
/external/chromium_org/content/browser/fileapi/
H A Dtransient_file_util_unittest.cc77 base::FilePath temp_path; local
79 CreateAndRegisterTemporaryFile(&temp_url, &temp_path);
87 ASSERT_TRUE(base::PathExists(temp_path));
88 ASSERT_FALSE(base::DirectoryExists(temp_path));
99 ASSERT_EQ(temp_path, path);
103 ASSERT_TRUE(base::PathExists(temp_path));
107 ASSERT_EQ(temp_path, path);
115 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.h20 IPC_STRUCT_TRAITS_MEMBER(temp_path)
/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.cc75 const base::FilePath& temp_path,
77 return new DeleteTreeWorkItem(root_path, temp_path, key_paths);
73 CreateDeleteTreeWorkItem( const base::FilePath& root_path, const base::FilePath& temp_path, const std::vector<base::FilePath>& key_paths) argument
H A Dwork_item_list.h86 const base::FilePath& temp_path,
91 const base::FilePath& temp_path);
H A Dwork_item_list.cc143 const base::FilePath& temp_path,
145 WorkItem* item = WorkItem::CreateDeleteTreeWorkItem(root_path, temp_path,
152 const base::FilePath& temp_path) {
154 return AddDeleteTreeWorkItem(root_path, temp_path, no_key_files);
141 AddDeleteTreeWorkItem( const base::FilePath& root_path, const base::FilePath& temp_path, const std::vector<base::FilePath>& key_paths) argument
151 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/chrome_frame/
H A Dcrash_server_init.cc88 wchar_t temp_path[MAX_PATH + 1] = {0}; local
89 DWORD path_len = ::GetTempPath(MAX_PATH, temp_path);
116 temp_path, NULL, NULL, NULL,
/external/chromium/chrome/browser/extensions/
H A Dextension_creator.h55 bool CreateZip(const FilePath& extension_dir, const FilePath& temp_path,
/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.cc213 base::FilePath temp_path = temp_dir.Take();
217 temp_path.AppendASCII(origin_id).AddExtension(FILE_PATH_LITERAL("zip"));
230 temp_path,
270 const base::FilePath temp_path,
292 temp_path,
338 const base::FilePath& temp_path,
349 item->AddObserver(new FileDeleter(temp_path));
267 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
335 OnDownloadStarted( const base::FilePath& partition_path, const GURL& origin_url, const base::FilePath& temp_path, size_t connection_count, DownloadItem* item, net::Error error) argument
/external/chromium_org/chrome/installer/setup/
H A Dinstall_worker.cc126 const base::FilePath& temp_path,
138 temp_path.value(), WorkItem::ALWAYS);
146 setup_path.value(), active_setup_exe.value(), temp_path.value(),
159 // |temp_path| is in %ProgramFiles% for system level installs (and in
163 if (temp_path.IsParent(archive_path)) {
166 temp_path.value(),
175 temp_path.value(),
379 const base::FilePath& temp_path,
411 uninstall_link, temp_path);
425 const base::FilePath& temp_path,
123 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
376 AddDeleteUninstallShortcutsForMSIWorkItems( const InstallerState& installer_state, const Product& product, const base::FilePath& temp_path, WorkItemList* work_item_list) argument
420 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
971 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
1094 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.h88 const base::FilePath& temp_path,
100 // temp_path: the path of working directory used during installation. This path
108 const base::FilePath& temp_path,
H A Dsetup_util.h84 const base::FilePath& temp_path,
H A Dsetup_main.cc233 installer::SelfCleaningTempDir temp_path; local
234 if (!temp_path.Initialize(target_path.DirName(),
245 temp_path.path().value(),
249 temp_path.path().value(),
251 install_list->AddDeleteTreeWorkItem(chrome_new_exe, temp_path.path());
253 install_list->AddDeleteTreeWorkItem(chrome_old_exe, temp_path.path())->
277 // temp_path's dtor will take care of deleting or scheduling itself for
279 VLOG(1) << "Deleting temporary directory " << temp_path.path().value();
609 // Initializes |temp_path| to "Temp" within the target directory, and
611 // |temp_path|
612 CreateTemporaryAndUnpackDirectories( const InstallerState& installer_state, installer::SelfCleaningTempDir* temp_path, base::FilePath* unpack_path) argument
992 base::ScopedTempDir temp_path; local
1400 SelfCleaningTempDir temp_path; local
[all...]
/external/chromium_org/cloud_print/common/win/
H A Dinstall_utils.cc175 base::FilePath temp_path;
176 if (!base::CreateTemporaryFile(&temp_path))
178 base::CopyFile(installer_source, temp_path);
179 base::DeleteFileAfterReboot(temp_path);
180 CommandLine command_line(temp_path);
/external/chromium_org/content/shell/browser/
H A Dshell_browser_main.cc153 base::FilePath temp_path; local
154 base::GetTempDir(&temp_path);
155 test_controller.SetTempPath(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 = file_util::WriteFile(temp_path, &data[0], data.size());
39 base::CreatePlatformFile(temp_path, flags, NULL, NULL);
/external/chromium_org/chrome/common/extensions/
H A Dextension_file_util.cc505 base::FilePath temp_path = extensions_dir.Append(kTempDirectoryName); local
506 if (base::PathExists(temp_path)) {
507 if (!base::DirectoryExists(temp_path)) {
508 DLOG(WARNING) << "Not a directory: " << temp_path.value();
511 if (!base::PathIsWritable(temp_path)) {
512 DLOG(WARNING) << "Can't write to path: " << temp_path.value();
516 return temp_path;
520 if (!base::CreateDirectory(temp_path)) {
521 DLOG(WARNING) << "Couldn't create directory: " << temp_path.value();
524 return temp_path;
[all...]
/external/chromium_org/chrome/browser/feedback/
H A Dfeedback_util.cc376 base::FilePath temp_path; local
381 if (!base::CreateNewTempDirectory(base::FilePath::StringType(), &temp_path))
383 if (file_util::WriteFile(temp_path.Append(filename),
388 zip::Zip(temp_path, zip_file, false) &&
391 base::DeleteFile(temp_path, true);
/external/chromium_org/cloud_print/virtual_driver/win/install/
H A Dsetup.cc193 const base::FilePath* temp_path(
204 temp_path->Append(kDependencyList[i]).value().c_str());
252 base::ScopedTempDir temp_path; local
253 if (!temp_path.CreateUniqueTempDir())
255 ReadyDriverDependencies(temp_path.path());
260 base::FilePath file_path = temp_path.path().Append(kDependencyList[i]);
269 base::FilePath xps_path = temp_path.path().Append(kDriverName);
270 base::FilePath ui_path = temp_path.path().Append(kUiDriverName);
271 base::FilePath ui_help_path = temp_path.path().Append(kHelpName);

Completed in 588 milliseconds

12