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

Side by Side Diff: chrome/installer/setup/install.h

Issue 2333853002: Support --delete-old-versions in setup.exe. (Closed)
Patch Set: CR grt/rkaplow #8-9 Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/installer/setup/install.cc » ('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 // This file contains the specification of setup main functions. 5 // This file contains the specification of setup main functions.
6 6
7 #ifndef CHROME_INSTALLER_SETUP_INSTALL_H_ 7 #ifndef CHROME_INSTALLER_SETUP_INSTALL_H_
8 #define CHROME_INSTALLER_SETUP_INSTALL_H_ 8 #define CHROME_INSTALLER_SETUP_INSTALL_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const InstallationState& original_state, 122 const InstallationState& original_state,
123 const InstallerState& installer_state, 123 const InstallerState& installer_state,
124 const base::FilePath& setup_path, 124 const base::FilePath& setup_path,
125 const base::FilePath& archive_path, 125 const base::FilePath& archive_path,
126 const base::FilePath& install_temp_path, 126 const base::FilePath& install_temp_path,
127 const base::FilePath& src_path, 127 const base::FilePath& src_path,
128 const base::FilePath& prefs_path, 128 const base::FilePath& prefs_path,
129 const installer::MasterPreferences& prefs, 129 const installer::MasterPreferences& prefs,
130 const base::Version& new_version); 130 const base::Version& new_version);
131 131
132 // Launches a process that deletes files that belong to old versions of Chrome.
133 // |setup_path| is the path to the setup.exe executable to use.
134 void LaunchDeleteOldVersionsProcess(const base::FilePath& setup_path,
135 const InstallerState& installer_state);
136
132 // Performs installation-related tasks following an OS upgrade. 137 // Performs installation-related tasks following an OS upgrade.
133 // |chrome| The installed product (must be a browser). 138 // |chrome| The installed product (must be a browser).
134 // |installed_version| the current version of this install. 139 // |installed_version| the current version of this install.
135 void HandleOsUpgradeForBrowser(const InstallerState& installer_state, 140 void HandleOsUpgradeForBrowser(const InstallerState& installer_state,
136 const Product& chrome, 141 const Product& chrome,
137 const base::Version& installed_version); 142 const base::Version& installed_version);
138 143
139 // Performs per-user installation-related tasks on Active Setup (ran on first 144 // Performs per-user installation-related tasks on Active Setup (ran on first
140 // login for each user post system-level Chrome install). 145 // login for each user post system-level Chrome install).
141 // |installation_root|: The root of this install (i.e. the directory in which 146 // |installation_root|: The root of this install (i.e. the directory in which
142 // chrome.exe is installed). 147 // chrome.exe is installed).
143 // Shortcut creation is skipped if the First Run beacon is present (unless 148 // Shortcut creation is skipped if the First Run beacon is present (unless
144 // |force| is set to true). 149 // |force| is set to true).
145 // |chrome| The installed product (must be a browser). 150 // |chrome| The installed product (must be a browser).
146 void HandleActiveSetupForBrowser(const base::FilePath& installation_root, 151 void HandleActiveSetupForBrowser(const base::FilePath& installation_root,
147 const Product& chrome, 152 const Product& chrome,
148 bool force); 153 bool force);
149 154
150 } // namespace installer 155 } // namespace installer
151 156
152 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ 157 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/setup/install.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698