Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(832)

Side by Side Diff: chrome/installer/setup/setup_main.h

Issue 169833003: Determine the path to setup.exe via PathService rather than the parsed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comment Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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 header exists as a starting point for extracting some of the 5 // This header exists as a starting point for extracting some of the
6 // logic out of setup_main.cc. 6 // logic out of setup_main.cc.
7 7
8 #ifndef CHROME_INSTALLER_SETUP_SETUP_MAIN_H_ 8 #ifndef CHROME_INSTALLER_SETUP_SETUP_MAIN_H_
9 #define CHROME_INSTALLER_SETUP_SETUP_MAIN_H_ 9 #define CHROME_INSTALLER_SETUP_SETUP_MAIN_H_
10 10
11 #include "chrome/installer/util/util_constants.h" 11 #include "chrome/installer/util/util_constants.h"
12 12
13 class CommandLine; 13 class CommandLine;
14 14
15 namespace base { 15 namespace base {
16 class FilePath; 16 class FilePath;
17 } // namespace base 17 } // namespace base
18 18
19 namespace installer { 19 namespace installer {
20 class InstallationState; 20 class InstallationState;
21 class InstallerState; 21 class InstallerState;
22 class MasterPreferences; 22 class MasterPreferences;
23 23
24 // Helper function that performs the installation of a set of products. 24 // Helper function that performs the installation of a set of products.
25 // |installer_directory|, if non-NULL, is populated with the path to the 25 // |installer_directory|, if non-NULL, is populated with the path to the
26 // directory containing the newly installed setup.exe. |archive_type| is 26 // directory containing the newly installed setup.exe. |archive_type| is
27 // populated with the type of archive found. |delegated_to_existing| is set to 27 // populated with the type of archive found. |delegated_to_existing| is set to
28 // |true| if installation was delegated to a pre-existing higher version. 28 // |true| if installation was delegated to a pre-existing higher version.
29 InstallStatus InstallProductsHelper(const InstallationState& original_state, 29 InstallStatus InstallProductsHelper(const InstallationState& original_state,
30 const base::FilePath& setup_exe,
30 const CommandLine& cmd_line, 31 const CommandLine& cmd_line,
31 const MasterPreferences& prefs, 32 const MasterPreferences& prefs,
32 const InstallerState& installer_state, 33 const InstallerState& installer_state,
33 base::FilePath* installer_directory, 34 base::FilePath* installer_directory,
34 ArchiveType* archive_type, 35 ArchiveType* archive_type,
35 bool* delegated_to_existing); 36 bool* delegated_to_existing);
36 37
37 } // namespace installer 38 } // namespace installer
38 39
39 #endif // CHROME_INSTALLER_SETUP_SETUP_MAIN_H_ 40 #endif // CHROME_INSTALLER_SETUP_SETUP_MAIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/setup/setup_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698