diff options
author | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 21:46:32 +0000 |
---|---|---|
committer | msw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-13 21:46:32 +0000 |
commit | 62b4e52857f1fc8c0e26be90bc5e770e65f12aec (patch) | |
tree | 9101c313ebb60fda88a18f2aac014007011385dd /base | |
parent | 36717d9b4e6ac635fe762ae9974fd57538df2fa8 (diff) | |
download | chromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.zip chromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.tar.gz chromium_src-62b4e52857f1fc8c0e26be90bc5e770e65f12aec.tar.bz2 |
Nix CommandLine::GetSwitchCount.
BUG=73195
TEST=none
Review URL: http://codereview.chromium.org/7342024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92423 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/command_line.cc | 4 | ||||
-rw-r--r-- | base/command_line.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/base/command_line.cc b/base/command_line.cc index acf2502..ff89e1a 100644 --- a/base/command_line.cc +++ b/base/command_line.cc @@ -290,10 +290,6 @@ CommandLine::StringType CommandLine::GetSwitchValueNative( return result == switches_.end() ? StringType() : result->second; } -size_t CommandLine::GetSwitchCount() const { - return switches_.size(); -} - void CommandLine::AppendSwitch(const std::string& switch_string) { AppendSwitchNative(switch_string, StringType()); } diff --git a/base/command_line.h b/base/command_line.h index d9f3138..4b40133 100644 --- a/base/command_line.h +++ b/base/command_line.h @@ -99,10 +99,6 @@ class BASE_API CommandLine { FilePath GetSwitchValuePath(const std::string& switch_string) const; StringType GetSwitchValueNative(const std::string& switch_string) const; - // Get the number of switches in this process. - // TODO(msw): Remove unnecessary API. - size_t GetSwitchCount() const; - // Get a copy of all switches, along with their values. const SwitchMap& GetSwitches() const { return switches_; } |