diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-12 20:31:13 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-12 20:31:13 +0000 |
commit | a015f9d29bdf73788a620fee73120022b7fa4a71 (patch) | |
tree | 257b21aa7af125b6f6dc815a247ba59e850b8197 /base/command_line.h | |
parent | cf299bca597ce630d636a81dbd8421db9a0b5f9b (diff) | |
download | chromium_src-a015f9d29bdf73788a620fee73120022b7fa4a71.zip chromium_src-a015f9d29bdf73788a620fee73120022b7fa4a71.tar.gz chromium_src-a015f9d29bdf73788a620fee73120022b7fa4a71.tar.bz2 |
CommandLine: remove three useless functions.
PrefixedSwitchString was full of encoding conversions, but there was only one
real caller, and the function is trivial.
Terminate is leftover cruft.
TEST=compiles
Review URL: http://codereview.chromium.org/3138001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line.h')
-rw-r--r-- | base/command_line.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/base/command_line.h b/base/command_line.h index ecfb1bd..10fbc92 100644 --- a/base/command_line.h +++ b/base/command_line.h @@ -79,9 +79,6 @@ class CommandLine { // If Init is called only once, e.g. in main(), calling Reset() is not // necessary. static void Reset(); - // The same function snuck into this class under two different names; - // this one remains for backwards compat with the older o3d build. - static void Terminate() { Reset(); } // Get the singleton CommandLine representing the current process's // command line. Note: returned value is mutable, but not thread safe; @@ -134,16 +131,6 @@ class CommandLine { // Returns the program part of the command line string (the first item). FilePath GetProgram() const; - // Return a copy of the string prefixed with a switch prefix. - // Used internally. - static std::wstring PrefixedSwitchString(const std::string& switch_string); - - // Return a copy of the string prefixed with a switch prefix, - // and appended with the given value. Used internally. - static std::wstring PrefixedSwitchStringWithValue( - const std::string& switch_string, - const std::wstring& value_string); - // Append a switch to the command line. void AppendSwitch(const std::string& switch_string); |