Chromium Code Reviews| Index: base/command_line.h |
| diff --git a/base/command_line.h b/base/command_line.h |
| index ed46c4f0d13c34778d390e86827b8e6db307d186..59f063752de6ab1a84ca8974525344f937db749f 100644 |
| --- a/base/command_line.h |
| +++ b/base/command_line.h |
| @@ -123,7 +123,11 @@ class BASE_EXPORT CommandLine { |
| void AppendSwitchASCII(const std::string& switch_string, |
| const std::string& value); |
| - // Copy a set of switches (and any values) from another command line. |
| + // Copy a switch (and a value, if any) from another command line. |
| + void CopySwitchFrom(const CommandLine& source, |
| + const char* switch_name); |
| + |
| + // Same as CopySwitchFrom, but for multiple switches. |
| // Commonly used when launching a subprocess. |
| void CopySwitchesFrom(const CommandLine& source, |
|
brettw
2013/09/03 20:21:18
I don't think this is a very commonly used functio
|
| const char* const switches[], |