Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Side by Side Diff: chrome/installer/util/installer_state.cc

Issue 11733007: Duplicate setup.exe into an identical executable and point Active Setup to that executable instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add to InstallerState Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/installer/util/installer_state.h ('k') | chrome/installer/util/util_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/installer/util/installer_state.h ('k') | chrome/installer/util/util_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698