Index: chrome/install_static/product_install_details.cc |
diff --git a/chrome/install_static/product_install_details.cc b/chrome/install_static/product_install_details.cc |
index 9af5b2fca6fa4903242e64e899a66d7ff0aea2fb..cc7f012ece938f11ea7bd6c1485f93e8039aed2e 100644 |
--- a/chrome/install_static/product_install_details.cc |
+++ b/chrome/install_static/product_install_details.cc |
@@ -119,15 +119,6 @@ std::wstring GetInstallSuffix(const std::wstring& exe_path) { |
(name - scan) - kProductPathNameLength); |
} |
-bool IsMultiInstall(const InstallConstants& mode, bool system_level) { |
- assert(mode.supports_multi_install); |
- std::wstring args; |
- return nt::QueryRegValueSZ(system_level ? nt::HKLM : nt::HKCU, nt::WOW6432, |
- GetClientStateKeyPath(mode.app_guid).c_str(), |
- L"UninstallArguments", &args) && |
- args.find(L"--multi-install") != std::wstring::npos; |
-} |
- |
std::unique_ptr<PrimaryInstallDetails> MakeProductDetails( |
const std::wstring& exe_path) { |
std::unique_ptr<PrimaryInstallDetails> details(new PrimaryInstallDetails()); |
@@ -135,13 +126,10 @@ std::unique_ptr<PrimaryInstallDetails> MakeProductDetails( |
const InstallConstants* mode = FindInstallMode(GetInstallSuffix(exe_path)); |
const bool system_level = |
mode->supports_system_level && PathIsInProgramFiles(exe_path); |
- const bool multi_install = |
- mode->supports_multi_install && IsMultiInstall(*mode, system_level); |
details->set_mode(mode); |
details->set_system_level(system_level); |
- details->set_multi_install(multi_install); |
- details->set_channel(DetermineChannel(*mode, system_level, multi_install)); |
+ details->set_channel(DetermineChannel(*mode, system_level)); |
return details; |
} |