Index: chrome/installer/setup/install.h |
diff --git a/chrome/installer/setup/install.h b/chrome/installer/setup/install.h |
index a3c73194787a42e4877c3914e6b11a764fe3baa1..4e61bc2a2bd4e9f73943aa28b4acbfbe7e5aca11 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); |
@@ -71,7 +73,8 @@ void CreateOrUpdateDesktopAndQuickLaunchShortcuts( |
// popping a UAC if the user is not an admin and HKLM registrations are required |
// to register Chrome's capabilities on this version of Windows (i.e. |
// pre-Win8)). |
-void RegisterChromeOnMachine(const InstallerState& installer_state, |
+// Returns true if all tasks succeed. |
+bool RegisterChromeOnMachine(const InstallerState& installer_state, |
const Product& product, |
bool make_chrome_default); |
@@ -102,6 +105,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_ |