| 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 defines specific implementation of BrowserDistribution class for | 5 // This file defines specific implementation of BrowserDistribution class for |
| 6 // Google Chrome. | 6 // Google Chrome. |
| 7 | 7 |
| 8 #include "chrome/installer/util/google_chrome_distribution.h" | 8 #include "chrome/installer/util/google_chrome_distribution.h" |
| 9 | 9 |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 return; | 796 return; |
| 797 | 797 |
| 798 // The user wants to uninstall. This is a best effort operation. Note that | 798 // The user wants to uninstall. This is a best effort operation. Note that |
| 799 // we waited for chrome to exit so the uninstall would not detect chrome | 799 // we waited for chrome to exit so the uninstall would not detect chrome |
| 800 // running. | 800 // running. |
| 801 bool system_level_toast = CommandLine::ForCurrentProcess()->HasSwitch( | 801 bool system_level_toast = CommandLine::ForCurrentProcess()->HasSwitch( |
| 802 installer::switches::kSystemLevelToast); | 802 installer::switches::kSystemLevelToast); |
| 803 | 803 |
| 804 CommandLine cmd(InstallUtil::GetChromeUninstallCmd(system_level_toast, | 804 CommandLine cmd(InstallUtil::GetChromeUninstallCmd(system_level_toast, |
| 805 GetType())); | 805 GetType())); |
| 806 base::LaunchApp(cmd, false, false, NULL); | 806 base::LaunchProcess(cmd, base::LaunchOptions()); |
| 807 } | 807 } |
| 808 #endif | 808 #endif |
| OLD | NEW |