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

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm

Issue 2762173003: Remove IsNewProfileManagement and EnableNewProfileManagementForTesting (Closed)
Patch Set: Fix compile (add back an include) Created 3 years, 9 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
Index: chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
index 85ae8be075954355bd6f99d8552a144941af9dd6..5a3c31d7cdb299ca06b21a409343cb46113643cc 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
@@ -432,9 +432,6 @@ TEST_F(ProfileChooserControllerTest, AccountManagementLayout) {
}
TEST_F(ProfileChooserControllerTest, SignedInProfileLockDisabled) {
- switches::EnableNewProfileManagementForTesting(
- base::CommandLine::ForCurrentProcess());
-
SignInFirstProfile();
// The preference, not the email, determines whether the profile can lock.
@@ -458,9 +455,6 @@ TEST_F(ProfileChooserControllerTest, SignedInProfileLockDisabled) {
}
TEST_F(ProfileChooserControllerTest, SignedInProfileLockEnabled) {
- switches::EnableNewProfileManagementForTesting(
- base::CommandLine::ForCurrentProcess());
-
SignInFirstProfile();
// The preference, not the email, determines whether the profile can lock.
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_disabled.cc ('k') | chrome/browser/ui/startup/startup_browser_creator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698