| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_INSTALLER_SETUP_CF_MIGRATION_H_ | |
| 6 #define CHROME_INSTALLER_SETUP_CF_MIGRATION_H_ | |
| 7 | |
| 8 #include "chrome/installer/util/util_constants.h" | |
| 9 | |
| 10 class CommandLine; | |
| 11 | |
| 12 namespace base { | |
| 13 class FilePath; | |
| 14 } | |
| 15 | |
| 16 namespace installer { | |
| 17 | |
| 18 class InstallationState; | |
| 19 class InstallerState; | |
| 20 class ProductState; | |
| 21 | |
| 22 // Invokes a child helper instance of the setup.exe in |installer_directory| to | |
| 23 // run MigrateChromeFrame (see comments below) using the archive in | |
| 24 // |installer_directory| for the given installation level. Returns true if the | |
| 25 // process is launched. | |
| 26 bool LaunchChromeFrameMigrationProcess( | |
| 27 const ProductState& chrome_frame_product, | |
| 28 const CommandLine& command_line, | |
| 29 const base::FilePath& installer_directory, | |
| 30 bool system_level); | |
| 31 | |
| 32 // Migrates multi-install Chrome Frame to single-install at the current | |
| 33 // level. Does not remove the multi-install binaries if no other products are | |
| 34 // using them. --uncompressed-archive=chrome.7z is expected to be given on the | |
| 35 // command line to point this setup.exe at the (possibly patched) archive from | |
| 36 // the calling instance. | |
| 37 // Note about process model: this is called in a child setup.exe that is | |
| 38 // invoked from the setup.exe instance run as part of an update to a | |
| 39 // multi-install Chrome Frame. | |
| 40 InstallStatus MigrateChromeFrame(const InstallationState& original_state, | |
| 41 InstallerState* installer_state); | |
| 42 | |
| 43 } // namespace installer | |
| 44 | |
| 45 #endif // CHROME_INSTALLER_SETUP_CF_MIGRATION_H_ | |
| OLD | NEW |