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

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

Issue 10889028: Install a user-level Start Menu shortcut for every user on system-installs through Active Setup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/installer/setup/install.cc » ('j') | chrome/installer/setup/install.cc » ('J')
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // |setup_exe|: The path to the setup.exe stored in <version_dir>\Installer 45 // |setup_exe|: The path to the setup.exe stored in <version_dir>\Installer
46 // post-install. 46 // post-install.
47 // |options|: bitfield for which the options come from 47 // |options|: bitfield for which the options come from
48 // ShellUtil::ChromeShortcutOptions. 48 // ShellUtil::ChromeShortcutOptions.
49 void CreateOrUpdateStartMenuAndTaskbarShortcuts( 49 void CreateOrUpdateStartMenuAndTaskbarShortcuts(
50 const InstallerState& installer_state, 50 const InstallerState& installer_state,
51 const FilePath& setup_exe, 51 const FilePath& setup_exe,
52 const Product& product, 52 const Product& product,
53 uint32 options); 53 uint32 options);
54 54
55 // Installs a user-level Start Menu shortcut.
56 // TODO(gab): This is a hack that is temporarily required for the Start Menu
grt (UTC plus 2) 2012/08/29 17:07:06 this is a doc comment for the function so that con
gab 2012/08/29 21:53:00 Done.
57 // (now Start Screen) shortcut to show up on Win8. This will be removed when I'm
58 // done refactoring ShellUtil as part of http://goo.gl/Az889.
59 void ForceCreateUserLevelStartMenuShortcut(
60 const InstallerState& installer_state,
61 const Product& product);
62
55 // This method, if SHORTCUT_CREATE_ALWAYS is specified in |options|, creates 63 // This method, if SHORTCUT_CREATE_ALWAYS is specified in |options|, creates
56 // Desktop and Quick Launch shortcuts for all users or only for the current user 64 // Desktop and Quick Launch shortcuts for all users or only for the current user
57 // depending on whether it is a system wide install or a user-level install. 65 // depending on whether it is a system wide install or a user-level install.
58 // If SHORTCUT_CREATE_ALWAYS is not specified in |options|: this method only 66 // If SHORTCUT_CREATE_ALWAYS is not specified in |options|: this method only
59 // updates existing shortcuts. 67 // updates existing shortcuts.
60 // |options|: bitfield for which the options come from 68 // |options|: bitfield for which the options come from
61 // ShellUtil::ChromeShortcutOptions. 69 // ShellUtil::ChromeShortcutOptions.
62 // If SHORTCUT_ALTERNATE is specified in |options|, an alternate shortcut name 70 // If SHORTCUT_ALTERNATE is specified in |options|, an alternate shortcut name
63 // is used for the Desktop shortcut. 71 // is used for the Desktop shortcut.
64 void CreateOrUpdateDesktopAndQuickLaunchShortcuts( 72 void CreateOrUpdateDesktopAndQuickLaunchShortcuts(
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 const FilePath& setup_path, 106 const FilePath& setup_path,
99 const FilePath& archive_path, 107 const FilePath& archive_path,
100 const FilePath& install_temp_path, 108 const FilePath& install_temp_path,
101 const FilePath& prefs_path, 109 const FilePath& prefs_path,
102 const installer::MasterPreferences& prefs, 110 const installer::MasterPreferences& prefs,
103 const Version& new_version); 111 const Version& new_version);
104 112
105 } // namespace installer 113 } // namespace installer
106 114
107 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ 115 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_
OLDNEW
« 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