OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 // install_temp_path: working directory used during install/update. It should | 32 // install_temp_path: working directory used during install/update. It should |
33 // also has a sub dir source that contains a complete | 33 // also has a sub dir source that contains a complete |
34 // and unpacked Chrome package. | 34 // and unpacked Chrome package. |
35 // prefs: master preferences. See chrome/installer/util/master_preferences.h. | 35 // prefs: master preferences. See chrome/installer/util/master_preferences.h. |
36 // new_version: new Chrome version that needs to be installed | 36 // new_version: new Chrome version that needs to be installed |
37 // package: Represents the target installation folder and all distributions | 37 // package: Represents the target installation folder and all distributions |
38 // to be installed in that folder. | 38 // to be installed in that folder. |
39 // | 39 // |
40 // Note: since caller unpacks Chrome to install_temp_path\source, the caller | 40 // Note: since caller unpacks Chrome to install_temp_path\source, the caller |
41 // is responsible for cleaning up install_temp_path. | 41 // is responsible for cleaning up install_temp_path. |
42 installer_util::InstallStatus InstallOrUpdateChrome( | 42 installer::InstallStatus InstallOrUpdateChrome( |
43 const FilePath& setup_path, const FilePath& archive_path, | 43 const FilePath& setup_path, const FilePath& archive_path, |
44 const FilePath& install_temp_path, const FilePath& prefs_path, | 44 const FilePath& install_temp_path, const FilePath& prefs_path, |
45 const installer_util::MasterPreferences& prefs, const Version& new_version, | 45 const installer::MasterPreferences& prefs, const Version& new_version, |
46 const Package& package); | 46 const Package& package); |
47 | 47 |
48 // Registers or unregisters COM DLLs in a specific folder as declared in | 48 // Registers or unregisters COM DLLs in a specific folder as declared in |
49 // kDllsToRegister. | 49 // kDllsToRegister. |
50 // TODO(robertshield): What if the list of old dlls and new ones isn't | 50 // TODO(robertshield): What if the list of old dlls and new ones isn't |
51 // the same? I think we should start storing the list of DLLs somewhere as | 51 // the same? I think we should start storing the list of DLLs somewhere as |
52 // part of the installation data. | 52 // part of the installation data. |
53 bool RegisterComDllList(const FilePath& dll_folder, bool system_level, | 53 bool RegisterComDllList(const FilePath& dll_folder, bool system_level, |
54 bool do_register, bool rollback_on_failure); | 54 bool do_register, bool rollback_on_failure); |
55 | 55 |
56 } // namespace installer | 56 } // namespace installer |
57 | 57 |
58 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ | 58 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ |
OLD | NEW |