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 "ash/session_state_delegate_stub.h" | 5 #include "ash/session_state_delegate_stub.h" |
6 | 6 |
7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
8 #include "ash/shell/example_factory.h" | 8 #include "ash/shell/example_factory.h" |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 const std::string SessionStateDelegateStub::GetUserEmail( | 56 const std::string SessionStateDelegateStub::GetUserEmail( |
57 MultiProfileIndex index) const { | 57 MultiProfileIndex index) const { |
58 return "stub-user@domain.com"; | 58 return "stub-user@domain.com"; |
59 } | 59 } |
60 | 60 |
61 const gfx::ImageSkia& SessionStateDelegateStub::GetUserImage( | 61 const gfx::ImageSkia& SessionStateDelegateStub::GetUserImage( |
62 MultiProfileIndex index) const { | 62 MultiProfileIndex index) const { |
63 return null_image_; | 63 return null_image_; |
64 } | 64 } |
65 | 65 |
66 void SessionStateDelegateStub::GetLoggedInUsers( | 66 void SessionStateDelegateStub::GetLoggedInUsers(UserIdList* users) { |
67 UserEmailList* users) { | |
68 } | 67 } |
69 | 68 |
70 void SessionStateDelegateStub::SwitchActiveUser(const std::string& email) { | 69 void SessionStateDelegateStub::SwitchActiveUser(const std::string& user_id) { |
| 70 } |
| 71 |
| 72 void SessionStateDelegateStub::AddSessionStateObserver( |
| 73 ash::SessionStateObserver* observer) { |
| 74 } |
| 75 |
| 76 void SessionStateDelegateStub::RemoveSessionStateObserver( |
| 77 ash::SessionStateObserver* observer) { |
71 } | 78 } |
72 | 79 |
73 } // namespace ash | 80 } // namespace ash |
OLD | NEW |