| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/ash/session_state_delegate.h" | 5 #include "chrome/browser/ui/ash/session_state_delegate.h" |
| 6 | 6 |
| 7 SessionStateDelegate::SessionStateDelegate() { | 7 SessionStateDelegate::SessionStateDelegate() { |
| 8 } | 8 } |
| 9 | 9 |
| 10 SessionStateDelegate::~SessionStateDelegate() { | 10 SessionStateDelegate::~SessionStateDelegate() { |
| 11 } | 11 } |
| 12 | 12 |
| 13 bool SessionStateDelegate::HasActiveUser() const { | 13 int SessionStateDelegate::GetMaximumNumberOfLoggedInUsers() const { |
| 14 return true; | 14 return 3; |
| 15 } |
| 16 |
| 17 bool SessionStateDelegate::NumberOfLoggedInUsers() const { |
| 18 return 1; |
| 15 } | 19 } |
| 16 | 20 |
| 17 bool SessionStateDelegate::IsActiveUserSessionStarted() const { | 21 bool SessionStateDelegate::IsActiveUserSessionStarted() const { |
| 18 return true; | 22 return true; |
| 19 } | 23 } |
| 20 | 24 |
| 21 bool SessionStateDelegate::CanLockScreen() const { | 25 bool SessionStateDelegate::CanLockScreen() const { |
| 22 return false; | 26 return false; |
| 23 } | 27 } |
| 24 | 28 |
| 25 bool SessionStateDelegate::IsScreenLocked() const { | 29 bool SessionStateDelegate::IsScreenLocked() const { |
| 26 return false; | 30 return false; |
| 27 } | 31 } |
| 28 | 32 |
| 29 void SessionStateDelegate::LockScreen() { | 33 void SessionStateDelegate::LockScreen() { |
| 30 } | 34 } |
| 31 | 35 |
| 32 void SessionStateDelegate::UnlockScreen() { | 36 void SessionStateDelegate::UnlockScreen() { |
| 33 } | 37 } |
| 38 |
| 39 const base::string16 SessionStateDelegate::GetUserDisplayName( |
| 40 ash::MultiProfileIndex index) const { |
| 41 NOTIMPLEMENTED(); |
| 42 return ""; |
| 43 } |
| 44 |
| 45 const std::string SessionStateDelegate::GetUserEmail( |
| 46 ash::MultiProfileIndex index) const { |
| 47 NOTIMPLEMENTED(); |
| 48 return ""; |
| 49 } |
| 50 |
| 51 const gfx::ImageSkia& SessionStateDelegate::GetUserImage( |
| 52 ash::MultiProfileIndex index) const { |
| 53 NOTIMPLEMENTED(); |
| 54 // To make the compiler happy. |
| 55 return gfx::ImageSkia(); |
| 56 } |
| 57 |
| 58 void SessionStateDelegate::GetLoggedInUsers( |
| 59 UserEmailList* users) { |
| 60 NOTIMPLEMENTED(); |
| 61 } |
| 62 |
| 63 void SessionStateDelegate::SwitchActiveUser(const std::string& email) { |
| 64 NOTIMPLEMENTED(); |
| 65 } |
| OLD | NEW |