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

Unified Diff: chrome/common/switch_utils_unittest.cc

Issue 12670013: Out-of-process import on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase on top of https://codereview.chromium.org/15736014/ 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 | « chrome/common/switch_utils.cc ('k') | chrome/utility/profile_import_handler.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 a228ed5d5df4892d237e7079ec5db5f6d4ccc50a..d00367e9bdb8b1ac18619eade5b88ae7378ef6d8 100644
--- a/chrome/common/switch_utils_unittest.cc
+++ b/chrome/common/switch_utils_unittest.cc
@@ -14,8 +14,6 @@ TEST(SwitchUtilsTest, RemoveSwitches) {
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 @@ TEST(SwitchUtilsTest, RemoveSwitches) {
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 @@ TEST(SwitchUtilsTest, RemoveSwitchesFromString) {
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 @@ TEST(SwitchUtilsTest, RemoveSwitchesFromString) {
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 | « chrome/common/switch_utils.cc ('k') | chrome/utility/profile_import_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698