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

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

Issue 8555010: Write the install language to the registry for user-level installs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 declarations of the installer functions that build 5 // This file contains the declarations of the installer functions that build
6 // the WorkItemList used to install the application. 6 // the WorkItemList used to install the application.
7 7
8 #ifndef CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 8 #ifndef CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
9 #define CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 9 #define CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
10 #pragma once 10 #pragma once
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // This method adds work items to create (or update) Chrome uninstall entry in 125 // This method adds work items to create (or update) Chrome uninstall entry in
126 // either the Control Panel->Add/Remove Programs list or in the Omaha client 126 // either the Control Panel->Add/Remove Programs list or in the Omaha client
127 // state key if running under an MSI installer. 127 // state key if running under an MSI installer.
128 void AddUninstallShortcutWorkItems(const InstallerState& installer_state, 128 void AddUninstallShortcutWorkItems(const InstallerState& installer_state,
129 const FilePath& setup_path, 129 const FilePath& setup_path,
130 const Version& new_version, 130 const Version& new_version,
131 WorkItemList* install_list, 131 WorkItemList* install_list,
132 const Product& product); 132 const Product& product);
133 133
134 // Create Version key for a product (if not already present) and sets the new 134 // Create Version key for a product (if not already present) and sets the new
135 // product version as the last step. 135 // product version as the last step. If |add_language_identifier| is true, the
136 // "lang" value is also set according to the currently selected translation.
136 void AddVersionKeyWorkItems(HKEY root, 137 void AddVersionKeyWorkItems(HKEY root,
137 BrowserDistribution* dist, 138 BrowserDistribution* dist,
138 const Version& new_version, 139 const Version& new_version,
140 bool add_language_identifier,
139 WorkItemList* list); 141 WorkItemList* list);
140 142
141 // Unregisters the "opv" version of ChromeLauncher from IE's low rights 143 // Unregisters the "opv" version of ChromeLauncher from IE's low rights
142 // elevation policy. 144 // elevation policy.
143 void AddDeleteOldIELowRightsPolicyWorkItems( 145 void AddDeleteOldIELowRightsPolicyWorkItems(
144 const InstallerState& installer_state, 146 const InstallerState& installer_state,
145 WorkItemList* install_list); 147 WorkItemList* install_list);
146 148
147 // Adds work items to copy IE low rights policies for an in-use update. 149 // Adds work items to copy IE low rights policies for an in-use update.
148 void AddCopyIELowRightsPolicyWorkItems(const InstallerState& installer_state, 150 void AddCopyIELowRightsPolicyWorkItems(const InstallerState& installer_state,
(...skipping 16 matching lines...) Expand all
165 // (and may therefore be NULL) when uninstalling. 167 // (and may therefore be NULL) when uninstalling.
166 void AddQuickEnableWorkItems(const InstallerState& installer_state, 168 void AddQuickEnableWorkItems(const InstallerState& installer_state,
167 const InstallationState& machine_state, 169 const InstallationState& machine_state,
168 const FilePath* setup_path, 170 const FilePath* setup_path,
169 const Version* new_version, 171 const Version* new_version,
170 WorkItemList* work_item_list); 172 WorkItemList* work_item_list);
171 173
172 } // namespace installer 174 } // namespace installer
173 175
174 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 176 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/chrome_frame_quick_enable.cc ('k') | chrome/installer/setup/install_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698