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

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

Issue 11465025: Keep installing all-users Start Menu and Desktop shortcuts on system-level installs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove TODO Created 8 years 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') | no next file with comments »
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 23 matching lines...) Expand all
34 // system-level equivalent of that shortcut is not present on the system. 34 // system-level equivalent of that shortcut is not present on the system.
35 INSTALL_SHORTCUT_CREATE_EACH_IF_NO_SYSTEM_LEVEL, 35 INSTALL_SHORTCUT_CREATE_EACH_IF_NO_SYSTEM_LEVEL,
36 // Replace all shortcuts that still exist with the most recent version of 36 // Replace all shortcuts that still exist with the most recent version of
37 // each individual shortcut. 37 // each individual shortcut.
38 INSTALL_SHORTCUT_REPLACE_EXISTING, 38 INSTALL_SHORTCUT_REPLACE_EXISTING,
39 }; 39 };
40 40
41 enum InstallShortcutLevel { 41 enum InstallShortcutLevel {
42 // Install shortcuts for the current user only. 42 // Install shortcuts for the current user only.
43 CURRENT_USER, 43 CURRENT_USER,
44 // Install global shortcuts visible to all users. This is no longer used on 44 // Install global shortcuts visible to all users. Note: the Quick Launch
45 // install and should only be used to update existing shortcuts on legacy 45 // and taskbar pin shortcuts are still installed per-user (as they have no
46 // installs. 46 // all-users version).
47 ALL_USERS, 47 ALL_USERS,
48 }; 48 };
49 49
50 // Escape |att_value| as per the XML AttValue production 50 // Escape |att_value| as per the XML AttValue production
51 // (http://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue) for a value in 51 // (http://www.w3.org/TR/2008/REC-xml-20081126/#NT-AttValue) for a value in
52 // single quotes. 52 // single quotes.
53 void EscapeXmlAttributeValueInSingleQuotes(string16* att_value); 53 void EscapeXmlAttributeValueInSingleQuotes(string16* att_value);
54 54
55 // Creates VisualElementsManifest.xml beside chrome.exe in |src_path| if 55 // Creates VisualElementsManifest.xml beside chrome.exe in |src_path| if
56 // |src_path|\VisualElements exists. 56 // |src_path|\VisualElements exists.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 // Shortcut creation is skipped if the First Run beacon is present (unless 127 // Shortcut creation is skipped if the First Run beacon is present (unless
128 // |force| is set to true). 128 // |force| is set to true).
129 // |chrome| The installed product (must be a browser). 129 // |chrome| The installed product (must be a browser).
130 void HandleActiveSetupForBrowser(const FilePath& installation_root, 130 void HandleActiveSetupForBrowser(const FilePath& installation_root,
131 const Product& chrome, 131 const Product& chrome,
132 bool force); 132 bool force);
133 133
134 } // namespace installer 134 } // namespace installer
135 135
136 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ 136 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/setup/install.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698