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

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

Issue 10665002: Implement installation of the Chrome App Host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A basic working app host installer/uninstaller. Created 8 years, 5 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
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 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // do a few post install tasks: 57 // do a few post install tasks:
58 // - Handle the case of in-use-update by updating "opv" (old version) key or 58 // - Handle the case of in-use-update by updating "opv" (old version) key or
59 // deleting it if not required. 59 // deleting it if not required.
60 // - Register any new dlls and unregister old dlls. 60 // - Register any new dlls and unregister old dlls.
61 // - If this is an MSI install, ensures that the MSI marker is set, and sets 61 // - If this is an MSI install, ensures that the MSI marker is set, and sets
62 // it if not. 62 // it if not.
63 // If these operations are successful, the function returns true, otherwise 63 // If these operations are successful, the function returns true, otherwise
64 // false. 64 // false.
65 bool AppendPostInstallTasks(const InstallerState& installer_state, 65 bool AppendPostInstallTasks(const InstallerState& installer_state,
66 const FilePath& setup_path, 66 const FilePath& setup_path,
67 const FilePath& new_chrome_exe,
68 const Version* current_version, 67 const Version* current_version,
69 const Version& new_version, 68 const Version& new_version,
70 const FilePath& temp_path, 69 const FilePath& temp_path,
71 WorkItemList* post_install_task_list); 70 WorkItemList* post_install_task_list);
72 71
73 // Builds the complete WorkItemList used to build the set of installation steps 72 // Builds the complete WorkItemList used to build the set of installation steps
74 // needed to lay down one or more installed products. 73 // needed to lay down one or more installed products.
75 // 74 //
76 // setup_path: Path to the executable (setup.exe) as it will be copied 75 // setup_path: Path to the executable (setup.exe) as it will be copied
77 // to Chrome install folder after install is complete 76 // to Chrome install folder after install is complete
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 // (and may therefore be NULL) when uninstalling. 174 // (and may therefore be NULL) when uninstalling.
176 void AddQuickEnableWorkItems(const InstallerState& installer_state, 175 void AddQuickEnableWorkItems(const InstallerState& installer_state,
177 const InstallationState& machine_state, 176 const InstallationState& machine_state,
178 const FilePath* setup_path, 177 const FilePath* setup_path,
179 const Version* new_version, 178 const Version* new_version,
180 WorkItemList* work_item_list); 179 WorkItemList* work_item_list);
181 180
182 } // namespace installer 181 } // namespace installer
183 182
184 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ 183 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698