Index: base/command_line.h |
diff --git a/base/command_line.h b/base/command_line.h |
index 3de8873e26aa608352415065ac4885ae238044be..d72d8ccb0abc263fa99538b63f3afbcf606b9088 100644 |
--- a/base/command_line.h |
+++ b/base/command_line.h |
@@ -69,6 +69,14 @@ class BASE_EXPORT CommandLine { |
// object and the behavior will be the same as Posix systems (only hyphens |
// begin switches, everything else will be an arg). |
static void set_slash_is_not_a_switch(); |
+ |
+ // Normally when the CommandLine singleton is initialized it gets the command |
+ // line via the GetCommandLineW API and then uses the shell32 API |
+ // CommandLineToArgvW to parse the command line and convert it back to argc |
+ // and argv. We may want to honor the command line arguments passed in via |
+ // main for console tests. The |honor_args_for_testing| parameter controls |
+ // that behavior. |
+ static void set_honor_argv_for_testing(bool honor_argv_for_testing); |
#endif |
// Initialize the current process CommandLine singleton. On Windows, ignores |