Index: ash/session_state_delegate_stub.cc |
diff --git a/ash/session_state_delegate_stub.cc b/ash/session_state_delegate_stub.cc |
index b913b5f43385671a621563e31f4a239a816b1a21..86ce36660f589c5951e60a7daa85ca87d7e6c8ce 100644 |
--- a/ash/session_state_delegate_stub.cc |
+++ b/ash/session_state_delegate_stub.cc |
@@ -6,6 +6,8 @@ |
#include "ash/shell.h" |
#include "ash/shell/example_factory.h" |
+#include "base/string16.h" |
+#include "base/utf_string_conversions.h" |
namespace ash { |
@@ -15,8 +17,12 @@ SessionStateDelegateStub::SessionStateDelegateStub() : screen_locked_(false) { |
SessionStateDelegateStub::~SessionStateDelegateStub() { |
} |
-bool SessionStateDelegateStub::HasActiveUser() const { |
- return true; |
+int SessionStateDelegateStub::GetMaximumNumberOfLoggedInUsers() const { |
+ return 3; |
+} |
+ |
+int SessionStateDelegateStub::NumberOfLoggedInUsers() const { |
+ return 1; |
} |
bool SessionStateDelegateStub::IsActiveUserSessionStarted() const { |
@@ -42,4 +48,26 @@ void SessionStateDelegateStub::UnlockScreen() { |
Shell::GetInstance()->UpdateShelfVisibility(); |
} |
+const base::string16 SessionStateDelegateStub::GetUserDisplayName( |
+ MultiProfileIndex index) const { |
+ return UTF8ToUTF16("stub-user"); |
+} |
+ |
+const std::string SessionStateDelegateStub::GetUserEmail( |
+ MultiProfileIndex index) const { |
+ return "stub-user@domain.com"; |
+} |
+ |
+const gfx::ImageSkia& SessionStateDelegateStub::GetUserImage( |
+ MultiProfileIndex index) const { |
+ return null_image_; |
+} |
+ |
+void SessionStateDelegateStub::GetLoggedInUsers( |
+ UserEmailList* users) { |
+} |
+ |
+void SessionStateDelegateStub::SwitchActiveUser(const std::string& email) { |
+} |
+ |
} // namespace ash |