| 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 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 |
| 11 | 11 |
| 12 #include <windows.h> | 12 #include <windows.h> |
| 13 | 13 |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 | 17 |
| 18 class BrowserDistribution; | 18 class BrowserDistribution; |
| 19 class CommandLine; | 19 class CommandLine; |
| 20 class FilePath; | 20 class FilePath; |
| 21 class Version; | 21 class Version; |
| 22 class WorkItemList; | 22 class WorkItemList; |
| 23 | 23 |
| 24 namespace installer { | 24 namespace installer { |
| 25 | 25 |
| 26 class InstallationState; | 26 class InstallationState; |
| 27 class InstallerState; | 27 class InstallerState; |
| 28 class Package; | |
| 29 class Product; | 28 class Product; |
| 30 | 29 |
| 31 // Helper function for AddGoogleUpdateWorkItems that mirrors oeminstall. | 30 // Helper function for AddGoogleUpdateWorkItems that mirrors oeminstall. |
| 32 void AddOemInstallWorkItems(const InstallationState& original_state, | 31 void AddOemInstallWorkItems(const InstallationState& original_state, |
| 33 const InstallerState& installer_state, | 32 const InstallerState& installer_state, |
| 34 WorkItemList* install_list); | 33 WorkItemList* install_list); |
| 35 | 34 |
| 36 // Helper function for AddGoogleUpdateWorkItems that mirrors eulaaccepted. | 35 // Helper function for AddGoogleUpdateWorkItems that mirrors eulaaccepted. |
| 37 void AddEulaAcceptedWorkItems(const InstallationState& original_state, | 36 void AddEulaAcceptedWorkItems(const InstallationState& original_state, |
| 38 const InstallerState& installer_state, | 37 const InstallerState& installer_state, |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 // (and may therefore be NULL) when uninstalling. | 165 // (and may therefore be NULL) when uninstalling. |
| 167 void AddQuickEnableWorkItems(const InstallerState& installer_state, | 166 void AddQuickEnableWorkItems(const InstallerState& installer_state, |
| 168 const InstallationState& machine_state, | 167 const InstallationState& machine_state, |
| 169 const FilePath* setup_path, | 168 const FilePath* setup_path, |
| 170 const Version* new_version, | 169 const Version* new_version, |
| 171 WorkItemList* work_item_list); | 170 WorkItemList* work_item_list); |
| 172 | 171 |
| 173 } // namespace installer | 172 } // namespace installer |
| 174 | 173 |
| 175 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ | 174 #endif // CHROME_INSTALLER_SETUP_INSTALL_WORKER_H_ |
| OLD | NEW |