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

Side by Side Diff: chrome/installer/util/google_chrome_distribution.cc

Issue 7351003: Clean up users of a deprecated base::LaunchApp API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win-only Created 9 years, 5 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 | « chrome/browser/service/service_process_control.cc ('k') | chrome/installer/util/product.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 (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
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
OLDNEW
« no previous file with comments | « chrome/browser/service/service_process_control.cc ('k') | chrome/installer/util/product.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698