| 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 // 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 "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 const InstallerState& installer_state); | 117 const InstallerState& installer_state); |
| 118 | 118 |
| 119 // Performs installation-related tasks following an OS upgrade. | 119 // Performs installation-related tasks following an OS upgrade. |
| 120 // |chrome| The installed product (must be a browser). | 120 // |chrome| The installed product (must be a browser). |
| 121 // |installed_version| the current version of this install. | 121 // |installed_version| the current version of this install. |
| 122 void HandleOsUpgradeForBrowser(const InstallerState& installer_state, | 122 void HandleOsUpgradeForBrowser(const InstallerState& installer_state, |
| 123 const Product& chrome, | 123 const Product& chrome, |
| 124 const base::Version& installed_version); | 124 const base::Version& installed_version); |
| 125 | 125 |
| 126 // Performs per-user installation-related tasks on Active Setup (ran on first | 126 // Performs per-user installation-related tasks on Active Setup (ran on first |
| 127 // login for each user post system-level Chrome install). | 127 // login for each user post system-level Chrome install). Shortcut creation is |
| 128 // |installation_root|: The root of this install (i.e. the directory in which | 128 // skipped if the First Run beacon is present (unless |force| is set to true). |
| 129 // chrome.exe is installed). | 129 void HandleActiveSetupForBrowser(const InstallerState& installer_state, |
| 130 // Shortcut creation is skipped if the First Run beacon is present (unless | |
| 131 // |force| is set to true). | |
| 132 // |chrome| The installed product (must be a browser). | |
| 133 void HandleActiveSetupForBrowser(const base::FilePath& installation_root, | |
| 134 const Product& chrome, | |
| 135 bool force); | 130 bool force); |
| 136 | 131 |
| 137 } // namespace installer | 132 } // namespace installer |
| 138 | 133 |
| 139 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ | 134 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ |
| OLD | NEW |