diff options
author | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-28 23:42:24 +0000 |
---|---|---|
committer | grt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-28 23:42:24 +0000 |
commit | 3e9bafd0cdb08340d0dd29e4eb6adfdc4257d012 (patch) | |
tree | 6fd37be39904708f38bb0d56061d2f7b1aa16c0e /win8/delegate_execute/command_execute_impl.h | |
parent | 9138c250dfa7bded97df5fa4dd5f54060e27f0c8 (diff) | |
download | chromium_src-3e9bafd0cdb08340d0dd29e4eb6adfdc4257d012.zip chromium_src-3e9bafd0cdb08340d0dd29e4eb6adfdc4257d012.tar.gz chromium_src-3e9bafd0cdb08340d0dd29e4eb6adfdc4257d012.tar.bz2 |
Prefix Chrome switches with the switch prefix.
Use CommandLine throughout rather than diddling with strings.
Use ScopedProcessInformation when calling CreateProcess.
BUG=151452
TEST=relaunch chrome via about:flags and hope not to see a tab navigated to "force-desktop". also, hope that relaunching between desktop and metro works.
Review URL: https://chromiumcodereview.appspot.com/10962023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159364 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/delegate_execute/command_execute_impl.h')
-rw-r--r-- | win8/delegate_execute/command_execute_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win8/delegate_execute/command_execute_impl.h b/win8/delegate_execute/command_execute_impl.h index 5a1a95c..8fd00b8 100644 --- a/win8/delegate_execute/command_execute_impl.h +++ b/win8/delegate_execute/command_execute_impl.h @@ -10,6 +10,7 @@ #include <string> +#include "base/command_line.h" #include "base/file_path.h" #include "base/process_util.h" #include "win8/delegate_execute/resource.h" // main symbols @@ -91,7 +92,7 @@ class ATL_NO_VTABLE DECLSPEC_UUID("A2DF06F9-A21A-44A8-8A99-8B9C84F29160") EC_HOST_UI_MODE GetLaunchMode(); CComPtr<IShellItemArray> item_array_; - string16 parameters_; + CommandLine parameters_; FilePath chrome_exe_; STARTUPINFO start_info_; string16 verb_; |