summaryrefslogtreecommitdiffstats
path: root/chrome/common/switch_utils_unittest.cc
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 04:54:52 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-20 04:54:52 +0000
commit61a4c6f8372350bedd95d8834c8bfd1b36a27c1b (patch)
treed2c796ee2336083b018d6a38fc54627b26559498 /chrome/common/switch_utils_unittest.cc
parent480ac51965719719beb1761274491acb6eda95e9 (diff)
downloadchromium_src-61a4c6f8372350bedd95d8834c8bfd1b36a27c1b.zip
chromium_src-61a4c6f8372350bedd95d8834c8bfd1b36a27c1b.tar.gz
chromium_src-61a4c6f8372350bedd95d8834c8bfd1b36a27c1b.tar.bz2
Rename CommandLine::GetCommandLineString().
Fix string hackery in net/tools/dump_cache/dump_cache.cc Fix const casts in chrome/installer/util/product.cc and base/process_util_win.cc. BUG=73195 TEST=none Review URL: http://codereview.chromium.org/7386002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93165 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/switch_utils_unittest.cc')
-rw-r--r--chrome/common/switch_utils_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/switch_utils_unittest.cc b/chrome/common/switch_utils_unittest.cc
index 49f2c38..74bc8af 100644
--- a/chrome/common/switch_utils_unittest.cc
+++ b/chrome/common/switch_utils_unittest.cc
@@ -20,7 +20,7 @@ TEST(SwitchUtilsTest, RemoveSwitches) {
FILE_PATH_LITERAL("--foo"),
FILE_PATH_LITERAL("--bar")};
CommandLine cmd_line(arraysize(argv), argv);
- EXPECT_FALSE(cmd_line.command_line_string().empty());
+ EXPECT_FALSE(cmd_line.GetCommandLineString().empty());
std::map<std::string, CommandLine::StringType> switches =
cmd_line.GetSwitches();
@@ -45,7 +45,7 @@ TEST(SwitchUtilsTest, RemoveSwitchesFromString) {
L" --make-default-browser"
L" --foo"
L" --bar");
- EXPECT_FALSE(cmd_line.command_line_string().empty());
+ EXPECT_FALSE(cmd_line.GetCommandLineString().empty());
std::map<std::string, CommandLine::StringType> switches =
cmd_line.GetSwitches();