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

Unified Diff: trunk/src/chrome/common/switch_utils_unittest.cc

Issue 15876003: Revert 201968 "Revert 201837 "OOP import on Windows."" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 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 | « trunk/src/chrome/common/switch_utils.cc ('k') | trunk/src/chrome/utility/profile_import_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/common/switch_utils_unittest.cc
===================================================================
--- trunk/src/chrome/common/switch_utils_unittest.cc (revision 201976)
+++ trunk/src/chrome/common/switch_utils_unittest.cc (working copy)
@@ -14,8 +14,6 @@
FILE_PATH_LITERAL("program"),
FILE_PATH_LITERAL("--app=http://www.google.com/"),
FILE_PATH_LITERAL("--force-first-run"),
- FILE_PATH_LITERAL("--import"),
- FILE_PATH_LITERAL("--import-from-file=c:\\test.html"),
FILE_PATH_LITERAL("--make-default-browser"),
FILE_PATH_LITERAL("--foo"),
FILE_PATH_LITERAL("--bar")};
@@ -24,7 +22,7 @@
std::map<std::string, CommandLine::StringType> switches =
cmd_line.GetSwitches();
- EXPECT_EQ(7U, switches.size());
+ EXPECT_EQ(5U, switches.size());
switches::RemoveSwitchesForAutostart(&switches);
EXPECT_EQ(2U, switches.size());
@@ -40,8 +38,6 @@
L"program"
L" --app=http://www.google.com/"
L" --force-first-run"
- L" --import"
- L" --import-from-file=c:\\test.html"
L" --make-default-browser"
L" --foo"
L" --bar");
@@ -49,7 +45,7 @@
std::map<std::string, CommandLine::StringType> switches =
cmd_line.GetSwitches();
- EXPECT_EQ(7U, switches.size());
+ EXPECT_EQ(5U, switches.size());
switches::RemoveSwitchesForAutostart(&switches);
EXPECT_EQ(2U, switches.size());
« no previous file with comments | « trunk/src/chrome/common/switch_utils.cc ('k') | trunk/src/chrome/utility/profile_import_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698