OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/installer/setup/setup_main.h" | 5 #include "chrome/installer/setup/setup_main.h" |
6 | 6 |
7 #include <windows.h> | 7 #include <windows.h> |
8 #include <msi.h> | 8 #include <msi.h> |
9 #include <shellapi.h> | 9 #include <shellapi.h> |
10 #include <shlobj.h> | 10 #include <shlobj.h> |
11 | 11 |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/at_exit.h" | 14 #include "base/at_exit.h" |
15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
16 #include "base/command_line.h" | 16 #include "base/command_line.h" |
17 #include "base/file_util.h" | |
18 #include "base/file_version_info.h" | 17 #include "base/file_version_info.h" |
19 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
| 19 #include "base/files/file_util.h" |
20 #include "base/files/scoped_temp_dir.h" | 20 #include "base/files/scoped_temp_dir.h" |
21 #include "base/memory/scoped_ptr.h" | 21 #include "base/memory/scoped_ptr.h" |
22 #include "base/path_service.h" | 22 #include "base/path_service.h" |
23 #include "base/process/launch.h" | 23 #include "base/process/launch.h" |
24 #include "base/strings/string16.h" | 24 #include "base/strings/string16.h" |
25 #include "base/strings/string_number_conversions.h" | 25 #include "base/strings/string_number_conversions.h" |
26 #include "base/strings/string_util.h" | 26 #include "base/strings/string_util.h" |
27 #include "base/strings/stringprintf.h" | 27 #include "base/strings/stringprintf.h" |
28 #include "base/strings/utf_string_conversions.h" | 28 #include "base/strings/utf_string_conversions.h" |
29 #include "base/values.h" | 29 #include "base/values.h" |
(...skipping 1802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1832 // Note that we allow the status installer::UNINSTALL_REQUIRES_REBOOT | 1832 // Note that we allow the status installer::UNINSTALL_REQUIRES_REBOOT |
1833 // to pass through, since this is only returned on uninstall which is | 1833 // to pass through, since this is only returned on uninstall which is |
1834 // never invoked directly by Google Update. | 1834 // never invoked directly by Google Update. |
1835 return_code = InstallUtil::GetInstallReturnCode(install_status); | 1835 return_code = InstallUtil::GetInstallReturnCode(install_status); |
1836 } | 1836 } |
1837 | 1837 |
1838 VLOG(1) << "Installation complete, returning: " << return_code; | 1838 VLOG(1) << "Installation complete, returning: " << return_code; |
1839 | 1839 |
1840 return return_code; | 1840 return return_code; |
1841 } | 1841 } |
OLD | NEW |