Home | History | Annotate | Download | only in setup
      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 // This header exists as a starting point for extracting some of the
      6 // logic out of setup_main.cc.
      7 
      8 #ifndef CHROME_INSTALLER_SETUP_SETUP_MAIN_H_
      9 #define CHROME_INSTALLER_SETUP_SETUP_MAIN_H_
     10 
     11 #include "chrome/installer/util/util_constants.h"
     12 
     13 class CommandLine;
     14 
     15 namespace installer {
     16 
     17 class InstallationState;
     18 class InstallerState;
     19 class MasterPreferences;
     20 
     21 // Helper function that performs the installation of a set of products.
     22 installer::InstallStatus InstallProductsHelper(
     23     const installer::InstallationState& original_state,
     24     const CommandLine& cmd_line,
     25     const installer::MasterPreferences& prefs,
     26     const installer::InstallerState& installer_state,
     27     installer::ArchiveType* archive_type,
     28     bool* delegated_to_existing);
     29 
     30 }  // namespace installer
     31 
     32 #endif  // CHROME_INSTALLER_SETUP_SETUP_MAIN_H_
     33