summaryrefslogtreecommitdiffstats
path: root/base/command_line.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/command_line.cc')
-rw-r--r--base/command_line.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/base/command_line.cc b/base/command_line.cc
index b94e837..de7870d 100644
--- a/base/command_line.cc
+++ b/base/command_line.cc
@@ -388,11 +388,6 @@ void CommandLine::AppendSwitchASCII(const std::string& switch_string,
AppendSwitchNative(switch_string, ASCIIToWide(value_string));
}
-void CommandLine::AppendSwitchWithValue(const std::string& switch_string,
- const std::wstring& value_string) {
- AppendSwitchNative(switch_string, value_string);
-}
-
void CommandLine::AppendSwitchNative(const std::string& switch_string,
const std::wstring& value_string) {
std::wstring value_string_edit;
@@ -463,13 +458,6 @@ void CommandLine::AppendSwitchASCII(const std::string& switch_string,
AppendSwitchNative(switch_string, value_string);
}
-void CommandLine::AppendSwitchWithValue(const std::string& switch_string,
- const std::wstring& value_string) {
- // TODO(evanm): deprecate.
- std::string mb_value = base::SysWideToNativeMB(value_string);
- AppendSwitchNative(switch_string, mb_value);
-}
-
void CommandLine::AppendLooseValue(const std::wstring& value) {
argv_.push_back(base::SysWideToNativeMB(value));
}