[go: nahoru, domu]

Rename CommandLine::ARGUMENTS_ONLY to NO_PROGRAM.

ARGUMENTS_ONLY was misleading since CommandLine has methods for handling "switches" and "arguments", but that constructor still allows both.

BUG=none
TEST=still builds

Review URL: http://codereview.chromium.org/3935001

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63325 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/command_line.h b/base/command_line.h
index ec8714f..a5bdd1a 100644
--- a/base/command_line.h
+++ b/base/command_line.h
@@ -30,9 +30,10 @@
 
 class CommandLine {
  public:
-  // A constructor for CommandLines that are used only to carry arguments.
-  enum ArgumentsOnly { ARGUMENTS_ONLY };
-  explicit CommandLine(ArgumentsOnly args_only);
+  // A constructor for CommandLines that are used only to carry switches and
+  // arguments.
+  enum NoProgram { NO_PROGRAM };
+  explicit CommandLine(NoProgram no_program);
   ~CommandLine();
 
 #if defined(OS_WIN)