| 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> |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 #endif | 71 #endif |
| 72 | 72 |
| 73 using installer::InstallerState; | 73 using installer::InstallerState; |
| 74 using installer::InstallationState; | 74 using installer::InstallationState; |
| 75 using installer::InstallationValidator; | 75 using installer::InstallationValidator; |
| 76 using installer::MasterPreferences; | 76 using installer::MasterPreferences; |
| 77 using installer::Product; | 77 using installer::Product; |
| 78 using installer::ProductState; | 78 using installer::ProductState; |
| 79 using installer::Products; | 79 using installer::Products; |
| 80 | 80 |
| 81 const wchar_t kChromePipeName[] = L"\\\\.\\pipe\\ChromeCrashServices"; | |
| 82 const wchar_t kGoogleUpdatePipeName[] = L"\\\\.\\pipe\\GoogleCrashServices\\"; | 81 const wchar_t kGoogleUpdatePipeName[] = L"\\\\.\\pipe\\GoogleCrashServices\\"; |
| 83 const wchar_t kSystemPrincipalSid[] = L"S-1-5-18"; | 82 const wchar_t kSystemPrincipalSid[] = L"S-1-5-18"; |
| 84 | 83 |
| 85 const MINIDUMP_TYPE kLargerDumpType = static_cast<MINIDUMP_TYPE>( | 84 const MINIDUMP_TYPE kLargerDumpType = static_cast<MINIDUMP_TYPE>( |
| 86 MiniDumpWithProcessThreadData | // Get PEB and TEB. | 85 MiniDumpWithProcessThreadData | // Get PEB and TEB. |
| 87 MiniDumpWithUnloadedModules | // Get unloaded modules when available. | 86 MiniDumpWithUnloadedModules | // Get unloaded modules when available. |
| 88 MiniDumpWithIndirectlyReferencedMemory); // Get memory referenced by stack. | 87 MiniDumpWithIndirectlyReferencedMemory); // Get memory referenced by stack. |
| 89 | 88 |
| 90 namespace { | 89 namespace { |
| 91 | 90 |
| (...skipping 1631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1723 // Note that we allow the status installer::UNINSTALL_REQUIRES_REBOOT | 1722 // Note that we allow the status installer::UNINSTALL_REQUIRES_REBOOT |
| 1724 // to pass through, since this is only returned on uninstall which is | 1723 // to pass through, since this is only returned on uninstall which is |
| 1725 // never invoked directly by Google Update. | 1724 // never invoked directly by Google Update. |
| 1726 return_code = InstallUtil::GetInstallReturnCode(install_status); | 1725 return_code = InstallUtil::GetInstallReturnCode(install_status); |
| 1727 } | 1726 } |
| 1728 | 1727 |
| 1729 VLOG(1) << "Installation complete, returning: " << return_code; | 1728 VLOG(1) << "Installation complete, returning: " << return_code; |
| 1730 | 1729 |
| 1731 return return_code; | 1730 return return_code; |
| 1732 } | 1731 } |
| OLD | NEW |