summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 16:30:27 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-19 16:30:27 +0000
commite22cf993eae0a94e08df91255a46557623b9f6d4 (patch)
tree0368ac171b565c431198f1c938db2bbc685ef5ee /chrome/installer
parenta1ed44a4da1ef5d3466814d4e0256d1248251b42 (diff)
downloadchromium_src-e22cf993eae0a94e08df91255a46557623b9f6d4.zip
chromium_src-e22cf993eae0a94e08df91255a46557623b9f6d4.tar.gz
chromium_src-e22cf993eae0a94e08df91255a46557623b9f6d4.tar.bz2
Remove LaunchAppAsUser().
This is the last of the LaunchApp family. BUG=88990 Review URL: http://codereview.chromium.org/7409004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93034 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index 433e7f3..6d5dd8f 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -231,9 +231,10 @@ bool LaunchSetupAsConsoleUser(const FilePath& setup_path,
return false;
// Note: Handle inheritance must be true in order for the child process to be
// able to use the duplicated handle above (Google Update results).
- bool launched = base::LaunchAppAsUser(user_token,
- cmd_line.command_line_string(),
- false, NULL, true, true);
+ base::LaunchOptions options;
+ options.as_user = user_token;
+ options.inherit_handles = true;
+ bool launched = base::LaunchProcess(cmd_line, options, NULL);
::CloseHandle(user_token);
return launched;
}