| OLD | NEW |
| 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 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 |
| 11 #include <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/version.h" | 14 #include "base/version.h" |
| 15 #include "chrome/installer/util/product.h" | 15 #include "chrome/installer/util/product.h" |
| 16 #include "chrome/installer/util/util_constants.h" | 16 #include "chrome/installer/util/util_constants.h" |
| 17 | 17 |
| 18 class FilePath; | 18 class FilePath; |
| 19 class WorkItemList; | |
| 20 | 19 |
| 21 namespace installer { | 20 namespace installer { |
| 22 | 21 |
| 23 class InstallationState; | 22 class InstallationState; |
| 24 class InstallerState; | 23 class InstallerState; |
| 25 class MasterPreferences; | 24 class MasterPreferences; |
| 26 | 25 |
| 27 // This function installs or updates a new version of Chrome. It returns | 26 // This function installs or updates a new version of Chrome. It returns |
| 28 // install status (failed, new_install, updated etc). | 27 // install status (failed, new_install, updated etc). |
| 29 // | 28 // |
| (...skipping 17 matching lines...) Expand all Loading... |
| 47 const FilePath& setup_path, | 46 const FilePath& setup_path, |
| 48 const FilePath& archive_path, | 47 const FilePath& archive_path, |
| 49 const FilePath& install_temp_path, | 48 const FilePath& install_temp_path, |
| 50 const FilePath& prefs_path, | 49 const FilePath& prefs_path, |
| 51 const installer::MasterPreferences& prefs, | 50 const installer::MasterPreferences& prefs, |
| 52 const Version& new_version); | 51 const Version& new_version); |
| 53 | 52 |
| 54 } // namespace installer | 53 } // namespace installer |
| 55 | 54 |
| 56 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ | 55 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ |
| OLD | NEW |