| Index: chrome/browser/profiles/profile_window.cc
|
| diff --git a/chrome/browser/profiles/profile_window.cc b/chrome/browser/profiles/profile_window.cc
|
| index 5b8072a10c44e528df1527f21874ab110423495d..51d39a660f1dbb59ec829b475d0b7055aad19992 100644
|
| --- a/chrome/browser/profiles/profile_window.cc
|
| +++ b/chrome/browser/profiles/profile_window.cc
|
| @@ -44,7 +44,6 @@
|
| #include "components/signin/core/browser/account_reconcilor.h"
|
| #include "components/signin/core/browser/account_tracker_service.h"
|
| #include "components/signin/core/browser/signin_manager.h"
|
| -#include "components/signin/core/common/profile_management_switches.h"
|
| #include "components/signin/core/common/signin_pref_names.h"
|
| #include "components/signin/core/common/signin_switches.h"
|
| #include "content/public/browser/browser_thread.h"
|
| @@ -407,9 +406,6 @@ void LockProfile(Profile* profile) {
|
|
|
| bool IsLockAvailable(Profile* profile) {
|
| DCHECK(profile);
|
| - if (!switches::IsNewProfileManagement())
|
| - return false;
|
| -
|
| if (profile->IsGuestSession() || profile->IsSystemProfile())
|
| return false;
|
|
|
|
|