diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 20:55:30 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-14 20:55:30 +0000 |
commit | adda869f22b29e7c43c2d84efdda2919854ed608 (patch) | |
tree | 9798ebe411388bacbd50a5798504f04ace15902b /chrome/installer | |
parent | 81f5486a2aa70e059a76b6e0851bb55b2e3daf53 (diff) | |
download | chromium_src-adda869f22b29e7c43c2d84efdda2919854ed608.zip chromium_src-adda869f22b29e7c43c2d84efdda2919854ed608.tar.gz chromium_src-adda869f22b29e7c43c2d84efdda2919854ed608.tar.bz2 |
Clean up users of a deprecated base::LaunchApp API.
BUG=88990
Review URL: http://codereview.chromium.org/7351003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r-- | chrome/installer/util/google_chrome_distribution.cc | 2 | ||||
-rw-r--r-- | chrome/installer/util/product.cc | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc index c62cf98..c6abe6f 100644 --- a/chrome/installer/util/google_chrome_distribution.cc +++ b/chrome/installer/util/google_chrome_distribution.cc @@ -803,6 +803,6 @@ void GoogleChromeDistribution::InactiveUserToastExperiment(int flavor, CommandLine cmd(InstallUtil::GetChromeUninstallCmd(system_level_toast, GetType())); - base::LaunchApp(cmd, false, false, NULL); + base::LaunchProcess(cmd, base::LaunchOptions()); } #endif diff --git a/chrome/installer/util/product.cc b/chrome/installer/util/product.cc index 7609d83..6d3d44d 100644 --- a/chrome/installer/util/product.cc +++ b/chrome/installer/util/product.cc @@ -62,7 +62,8 @@ bool Product::LaunchChrome(const FilePath& application_path) const { bool success = !application_path.empty(); if (success) { CommandLine cmd(application_path.Append(installer::kChromeExe)); - success = base::LaunchApp(cmd, false, false, NULL); + base::LaunchOptions options; + success = base::LaunchProcess(cmd, options); } return success; } |