diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 03:36:31 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-21 03:36:31 +0000 |
commit | 947446bd2c19777f7f20b9b14085dc31cdb73d1a (patch) | |
tree | a5a6965d00cd420035ccf80cf1498f7a2f1ca90a /chrome/browser/about_flags_unittest.cc | |
parent | 1f6228c2bfc056e876cbfd5b585f6d07d8f7313c (diff) | |
download | chromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.zip chromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.tar.gz chromium_src-947446bd2c19777f7f20b9b14085dc31cdb73d1a.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/about_flags_unittest.cc')
-rw-r--r-- | chrome/browser/about_flags_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/about_flags_unittest.cc b/chrome/browser/about_flags_unittest.cc index 4372f48..3122cc9 100644 --- a/chrome/browser/about_flags_unittest.cc +++ b/chrome/browser/about_flags_unittest.cc @@ -81,7 +81,7 @@ TEST_F(AboutFlagsTest, AddTwoFlagsRemoveBoth) { TEST_F(AboutFlagsTest, ConvertFlagsToSwitches) { SetExperimentEnabled(&prefs_, kFlags1, true); - CommandLine command_line(CommandLine::ARGUMENTS_ONLY); + CommandLine command_line(CommandLine::NO_PROGRAM); command_line.AppendSwitch("foo"); EXPECT_TRUE(command_line.HasSwitch("foo")); @@ -113,7 +113,7 @@ TEST_F(AboutFlagsTest, RemoveFlagSwitches) { EXPECT_TRUE(switch_list.find("foo") != switch_list.end()); // Call ConvertFlagsToSwitches(), then RemoveFlagsSwitches() again. - CommandLine command_line(CommandLine::ARGUMENTS_ONLY); + CommandLine command_line(CommandLine::NO_PROGRAM); command_line.AppendSwitch("foo"); ConvertFlagsToSwitches(&prefs_, &command_line); RemoveFlagsSwitches(&switch_list); |