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

Unified Diff: chrome/installer/setup/setup_util_unittest.cc

Issue 329017: Remove deprecated CommandLine(std::wstring) ctor. (Closed)
Patch Set: Created 11 years, 2 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/browser/user_data_manager.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_util_unittest.cc
diff --git a/chrome/installer/setup/setup_util_unittest.cc b/chrome/installer/setup/setup_util_unittest.cc
index 44af7fc7c8302905bb33187e1fb0f74749272a63..e0f87ae69d473e734ff6f27d70b8ce1e5de07646 100644
--- a/chrome/installer/setup/setup_util_unittest.cc
+++ b/chrome/installer/setup/setup_util_unittest.cc
@@ -86,8 +86,7 @@ TEST_F(SetupUtilTest, GetInstallPreferencesTest) {
cmd_str.append(L" --create-all-shortcuts");
cmd_str.append(L" --do-not-launch-chrome");
cmd_str.append(L" --alt-desktop-shortcut");
- CommandLine cmd_line(L"");
- cmd_line.ParseFromString(cmd_str);
+ CommandLine cmd_line = CommandLine::FromString(cmd_str);
scoped_ptr<DictionaryValue> prefs(
setup_util::GetInstallPreferences(cmd_line));
EXPECT_TRUE(prefs.get() != NULL);
« no previous file with comments | « chrome/browser/user_data_manager.cc ('k') | chrome/installer/util/google_chrome_distribution.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698