Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7419)

Unified Diff: chrome/common/switch_utils_unittest.cc

Issue 7386002: Rename CommandLine::GetCommandLineString(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge. Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/service_process_util_win.cc ('k') | chrome/installer/setup/install.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/switch_utils_unittest.cc
diff --git a/chrome/common/switch_utils_unittest.cc b/chrome/common/switch_utils_unittest.cc
index 49f2c3815ea0fdd163d1af8eb4a952d5f1dffc19..74bc8af8c738f2891af3b9b6e1b2699ca41c884e 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();
« no previous file with comments | « chrome/common/service_process_util_win.cc ('k') | chrome/installer/setup/install.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698