Index: chrome/installer/setup/install.h |
diff --git a/chrome/installer/setup/install.h b/chrome/installer/setup/install.h |
index a3c73194787a42e4877c3914e6b11a764fe3baa1..b23e695e6ca37b6f7cd4b2b8d0599de5077c3ec6 100644 |
--- a/chrome/installer/setup/install.h |
+++ b/chrome/installer/setup/install.h |
@@ -46,7 +46,8 @@ bool CreateVisualElementsManifest(const FilePath& src_path, |
// post-install. |
// |options|: bitfield for which the options come from |
// ShellUtil::ChromeShortcutOptions. |
-void CreateOrUpdateStartMenuAndTaskbarShortcuts( |
+// Returns true if all tasks succeed. |
+bool CreateOrUpdateStartMenuAndTaskbarShortcuts( |
const InstallerState& installer_state, |
const FilePath& setup_exe, |
const Product& product, |
@@ -61,7 +62,8 @@ void CreateOrUpdateStartMenuAndTaskbarShortcuts( |
// ShellUtil::ChromeShortcutOptions. |
// If SHORTCUT_ALTERNATE is specified in |options|, an alternate shortcut name |
// is used for the Desktop shortcut. |
-void CreateOrUpdateDesktopAndQuickLaunchShortcuts( |
+// Returns true if all tasks succeed. |
+bool CreateOrUpdateDesktopAndQuickLaunchShortcuts( |
const InstallerState& installer_state, |
const Product& product, |
uint32 options); |
@@ -102,6 +104,12 @@ InstallStatus InstallOrUpdateProduct( |
const installer::MasterPreferences& prefs, |
const Version& new_version); |
+// Performs installation-related tasks following an OS upgrade. |
+// Returns true if all tasks succeed. |
+bool HandleOsUpgradeForBrowser(const InstallerState& installer_state, |
+ const Product& chrome, |
+ const FilePath& setup_exe); |
+ |
} // namespace installer |
#endif // CHROME_INSTALLER_SETUP_INSTALL_H_ |