| Index: ash/common/session/session_state_delegate.cc
|
| diff --git a/ash/common/session/session_state_delegate.cc b/ash/common/session/session_state_delegate.cc
|
| deleted file mode 100644
|
| index b4be363fa48c73c4b169bd9c6f0072b7609e312d..0000000000000000000000000000000000000000
|
| --- a/ash/common/session/session_state_delegate.cc
|
| +++ /dev/null
|
| @@ -1,23 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "ash/common/session/session_state_delegate.h"
|
| -
|
| -namespace ash {
|
| -
|
| -bool SessionStateDelegate::IsInSecondaryLoginScreen() const {
|
| - return GetSessionState() == session_manager::SessionState::LOGIN_SECONDARY;
|
| -}
|
| -
|
| -AddUserSessionPolicy SessionStateDelegate::GetAddUserSessionPolicy() const {
|
| - if (!IsMultiProfileAllowedByPrimaryUserPolicy())
|
| - return AddUserSessionPolicy::ERROR_NOT_ALLOWED_PRIMARY_USER;
|
| -
|
| - if (NumberOfLoggedInUsers() >= GetMaximumNumberOfLoggedInUsers())
|
| - return AddUserSessionPolicy::ERROR_MAXIMUM_USERS_REACHED;
|
| -
|
| - return AddUserSessionPolicy::ALLOWED;
|
| -}
|
| -
|
| -} // namespace ash
|
|
|