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..75aacc0b6d23aac115d6153b1d990c27645a05fb 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(""); |
+} |
+ |
+const std::string SessionStateDelegateStub::GetUserEmail( |
+ MultiProfileIndex index) const { |
+ return ""; |
Nikita (slow)
2013/05/17 17:00:32
How about returning some stub strings here that ar
Mr4D (OOO till 08-26)
2013/05/17 18:45:09
Done.
|
+} |
+ |
+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 |