1- From 2f9be0801fbebd9e3ba3e55405fcd246b68a94f0 Mon Sep 17 00:00:00 2001
1+ From 5221611b74b49a818db69aa6389c83eabb9860c0 Mon Sep 17 00:00:00 2001
22From: Hibiki Tachibana <57486057+Hibbiki@users.noreply.github.com>
33Date: Sat, 22 Jul 2023 01:33:35 +0200
44Subject: [PATCH 3/4] Ensure bogus ElevationService is not being created during
@@ -10,26 +10,26 @@ Signed-off-by: Hibiki Tachibana <57486057+Hibbiki@users.noreply.github.com>
1010 1 file changed, 6 insertions(+), 2 deletions(-)
1111
1212diff --git a/chrome/installer/setup/install_worker.cc b/chrome/installer/setup/install_worker.cc
13- index 20d6c9369eeb4..a05913e2a4b60 100644
13+ index 40f877019cd32..52b872a32ee18 100644
1414--- a/chrome/installer/setup/install_worker.cc
1515+++ b/chrome/installer/setup/install_worker.cc
16- @@ -345 ,6 +345 ,7 @@ void AddChromeWorkItems(const InstallParams& install_params,
16+ @@ -320 ,6 +320 ,7 @@ void AddChromeWorkItems(const InstallParams& install_params,
1717 ->set_best_effort(true);
1818 }
1919
2020+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
2121 // Adds work items to register the Elevation Service with Windows. Only for
2222 // system level installs.
2323 void AddElevationServiceWorkItems(const base::FilePath& elevation_service_path,
24- @@ -430 ,7 +431 ,6 @@ void AddTracingServiceWorkItems(const InstallationState& original_state,
24+ @@ -405 ,7 +406 ,6 @@ void AddTracingServiceWorkItems(const InstallationState& original_state,
2525 }
2626 }
2727
2828- #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
2929 // Adds work items to add the "store-dmtoken" command to Chrome's version key.
3030 // This method is a no-op if this is anything other than system-level Chrome.
3131 // The command is used when enrolling Chrome browser instances into enterprise
32- @@ -1054 ,7 +1054 ,7 @@ void AddInstallWorkItems(const InstallParams& install_params,
32+ @@ -1029 ,7 +1029 ,7 @@ void AddInstallWorkItems(const InstallParams& install_params,
3333 install_list);
3434 AddPlatformExperienceHelperWorkItems(installer_state, new_version,
3535 install_list);
@@ -38,7 +38,7 @@ index 20d6c9369eeb4..a05913e2a4b60 100644
3838 AddFirewallRulesWorkItems(installer_state, !current_version.IsValid(),
3939 install_list);
4040
41- @@ -1064 ,10 +1064 ,12 @@ void AddInstallWorkItems(const InstallParams& install_params,
41+ @@ -1039 ,10 +1039 ,12 @@ void AddInstallWorkItems(const InstallParams& install_params,
4242 installer_state.root_key(),
4343 GetNotificationHelperPath(target_path, new_version), install_list);
4444
@@ -51,7 +51,7 @@ index 20d6c9369eeb4..a05913e2a4b60 100644
5151
5252 AddUpdateDowngradeVersionItem(installer_state.root_key(), current_version,
5353 new_version, install_list);
54- @@ -1347 ,10 +1349 ,12 @@ void AddFinalizeUpdateWorkItems(const InstallationState& original_state,
54+ @@ -1322 ,10 +1324 ,12 @@ void AddFinalizeUpdateWorkItems(const InstallationState& original_state,
5555 AddWerHelperRegistration(installer_state.root_key(),
5656 GetWerHelperPath(target_path, new_version), list);
5757
@@ -65,5 +65,5 @@ index 20d6c9369eeb4..a05913e2a4b60 100644
6565 const std::wstring client_state_key = install_static::GetClientStateKeyPath();
6666
6767- -
68- 2.47.0 .windows.2
68+ 2.50.1 .windows.1
6969
0 commit comments