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

Unified Diff: chrome/installer/setup/install.h

Issue 10823437: Callback flow to register Chrome and update shortcuts after OS upgrade to Windows 8 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactoring and nits. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/installer/setup/install.cc » ('j') | chrome/installer/setup/install.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « no previous file | chrome/installer/setup/install.cc » ('j') | chrome/installer/setup/install.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698