diff options
author | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-24 19:14:11 +0000 |
---|---|---|
committer | erikwright@chromium.org <erikwright@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-01-24 19:14:11 +0000 |
commit | efd97484dbba5faec394693002228a1f0e2c2f82 (patch) | |
tree | fcf94e84e1dc8213debb308fc4c405738eac3543 /chrome_frame/chrome_launcher_utils.h | |
parent | 30aa3ee0461f0475180d50d4adc4b925fe7e1315 (diff) | |
download | chromium_src-efd97484dbba5faec394693002228a1f0e2c2f82.zip chromium_src-efd97484dbba5faec394693002228a1f0e2c2f82.tar.gz chromium_src-efd97484dbba5faec394693002228a1f0e2c2f82.tar.bz2 |
When changing Ready Mode state from within an IE process, use chrome_launcher to invoke the ProcessLauncher, so as to not cause a UAC prompt (chrome_launcher is permitted via elevation policy).
BUG=None
TEST=Install GCF in Ready Mode on Vista, interact with it.
Review URL: http://codereview.chromium.org/6355011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72361 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_launcher_utils.h')
-rw-r--r-- | chrome_frame/chrome_launcher_utils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome_frame/chrome_launcher_utils.h b/chrome_frame/chrome_launcher_utils.h index 31698c5..4f5cdad 100644 --- a/chrome_frame/chrome_launcher_utils.h +++ b/chrome_frame/chrome_launcher_utils.h @@ -23,6 +23,12 @@ extern const wchar_t kLauncherExeBaseName[]; // returned command line. CommandLine* CreateLaunchCommandLine(); +// Creates a command line suitable for launching the specified command through +// Google Update. +// +// You must delete the returned command line. +CommandLine* CreateUpdateCommandLine(const std::wstring& update_command); + // Returns the full path to the Chrome executable. FilePath GetChromeExecutablePath(); |