Files
brave-core/patches/chrome-installer-setup-install_worker.cc.patch

21 lines
1.1 KiB
Diff

diff --git a/chrome/installer/setup/install_worker.cc b/chrome/installer/setup/install_worker.cc
index bd00b2806e6c2be78e88329fefafee7a99358ee9..68000e07d5d25801c294801cb8ab113c202edf91 100644
--- a/chrome/installer/setup/install_worker.cc
+++ b/chrome/installer/setup/install_worker.cc
@@ -107,6 +107,7 @@ void AddInstallerCopyTasks(const InstallParams& install_params,
base::FilePath active_setup_exe(installer_dir.Append(kActiveSetupExe));
install_list->AddCopyTreeWorkItem(setup_path, active_setup_exe, temp_path);
}
+ BRAVE_ADD_INSTALLER_COPY_TASKS
}
// A callback invoked by |work_item| that adds firewall rules for Chrome. Rules
@@ -217,6 +218,7 @@ void AddChromeWorkItems(const InstallParams& install_params,
installer_state.GetInstallerDirectory(current_version));
base::FilePath old_archive(
old_installer_dir.Append(installer::kChromeArchive));
+ BRAVE_MAYBE_ABORT_ADD_CHROME_WORK_ITEMS
auto* delete_old_archive_work_item =
install_list->AddDeleteTreeWorkItem(old_archive, temp_path);
// Don't cause failure of |install_list| if this WorkItem fails.