diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 20:37:56 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-09 20:37:56 +0000 |
commit | 8f681e432845de60b648960e4d1cec404a844581 (patch) | |
tree | 8cb6f2a9aaf2b463476a241f9e7c8ec9cdc59646 /base/command_line.h | |
parent | 59a3b8cd0edc83cf7e0590df7665867c79694f98 (diff) | |
download | chromium_src-8f681e432845de60b648960e4d1cec404a844581.zip chromium_src-8f681e432845de60b648960e4d1cec404a844581.tar.gz chromium_src-8f681e432845de60b648960e4d1cec404a844581.tar.bz2 |
Add a FilePath version of the CommandLine constructor. Mark the wstring version as deprecated.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/271031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28590 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line.h')
-rw-r--r-- | base/command_line.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/base/command_line.h b/base/command_line.h index 78f3862..c6aae86 100644 --- a/base/command_line.h +++ b/base/command_line.h @@ -26,6 +26,7 @@ #include "base/basictypes.h" #include "base/logging.h" +class FilePath; class InProcessBrowserTest; class CommandLine { @@ -42,7 +43,9 @@ class CommandLine { // Construct a new, empty command line. // |program| is the name of the program to run (aka argv[0]). - // TODO(port): should be a FilePath. + explicit CommandLine(const FilePath& program); + + // Deprecated in favor of FilePath version. explicit CommandLine(const std::wstring& program); // Uninit and free the current process's command line. |