Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / profiles / profile_helper_browsertest.cc
index 8f17370..82f97b6 100644 (file)
@@ -44,25 +44,6 @@ IN_PROC_BROWSER_TEST_F(ProfileHelperTest, ActiveUserProfileDir) {
   EXPECT_EQ(expected_dir, profile_dir.BaseName().value());
 }
 
-IN_PROC_BROWSER_TEST_F(ProfileHelperTest,
-                       GetProfileDirByLegacyLoginProfileSwitch) {
-  CommandLine::ForCurrentProcess()->
-      AppendSwitchASCII(chromeos::switches::kLoginProfile,
-                        chrome::kLegacyProfileDir);
-  EXPECT_EQ(chrome::kLegacyProfileDir,
-            ProfileHelper::GetProfileDirByLegacyLoginProfileSwitch().value());
-  CommandLine::ForCurrentProcess()->
-      AppendSwitchASCII(chromeos::switches::kLoginProfile,
-                        chrome::kTestUserProfileDir);
-  EXPECT_EQ(chrome::kTestUserProfileDir,
-            ProfileHelper::GetProfileDirByLegacyLoginProfileSwitch().value());
-  CommandLine::ForCurrentProcess()->
-        AppendSwitchASCII(chromeos::switches::kLoginProfile,
-                          kActiveUserHash);
-  EXPECT_EQ(std::string(chrome::kProfileDirPrefix) + kActiveUserHash,
-            ProfileHelper::GetProfileDirByLegacyLoginProfileSwitch().value());
-}
-
 IN_PROC_BROWSER_TEST_F(ProfileHelperTest, GetProfilePathByUserIdHash) {
   ProfileHelper profile_helper;
   base::FilePath profile_path =