Index: base/command_line.h |
diff --git a/base/command_line.h b/base/command_line.h |
index b8bbba92e224ee8934f3df6d030b54980207596a..db6145879a61120bf87fd4fa5544f797f2197b4c 100644 |
--- a/base/command_line.h |
+++ b/base/command_line.h |
@@ -129,11 +129,13 @@ class CommandLine { |
void AppendSwitch(const std::string& switch_string); |
// Append a switch and value to the command line. |
+ // CAUTION! Appending a switch after the "--" kSwitchTerminator is futile! |
void AppendSwitchPath(const std::string& switch_string, const FilePath& path); |
void AppendSwitchNative(const std::string& switch_string, |
const StringType& value); |
void AppendSwitchASCII(const std::string& switch_string, |
const std::string& value); |
+ void AppendSwitches(const CommandLine& other); |
// Append an argument to the command line. |
// Note on quoting: the argument will be quoted properly such that it is |
@@ -143,6 +145,7 @@ class CommandLine { |
void AppendArg(const std::string& value); |
void AppendArgPath(const FilePath& value); |
void AppendArgNative(const StringType& value); |
+ void AppendArgs(const CommandLine& other); |
// Append the arguments from another command line to this one. |
// If |include_program| is true, include |other|'s program as well. |