OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/installer/util/installer_state.h" | 5 #include "chrome/installer/util/installer_state.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <functional> | 8 #include <functional> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
783 // And for the binaries if this is a multi-install. | 783 // And for the binaries if this is a multi-install. |
784 if (is_multi_install()) { | 784 if (is_multi_install()) { |
785 InstallUtil::AddInstallerResultItems( | 785 InstallUtil::AddInstallerResultItems( |
786 system_install, multi_package_binaries_distribution()->GetStateKey(), | 786 system_install, multi_package_binaries_distribution()->GetStateKey(), |
787 status, string_resource_id, launch_cmd, install_list.get()); | 787 status, string_resource_id, launch_cmd, install_list.get()); |
788 } | 788 } |
789 if (!install_list->Do()) | 789 if (!install_list->Do()) |
790 LOG(ERROR) << "Failed to record installer error information in registry."; | 790 LOG(ERROR) << "Failed to record installer error information in registry."; |
791 } | 791 } |
792 | 792 |
| 793 bool InstallerState::RequiresActiveSetup() const { |
| 794 return system_install() && FindProduct(BrowserDistribution::CHROME_BROWSER); |
| 795 } |
| 796 |
793 } // namespace installer | 797 } // namespace installer |
OLD | NEW |