| 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/test/test_session_state_delegate.h" | 5 #include "ash/test/test_session_state_delegate.h" |
| 6 | 6 |
| 7 #include "base/string16.h" | 7 #include "base/string16.h" |
| 8 #include "base/utf_string_conversions.h" | 8 #include "base/utf_string_conversions.h" |
| 9 | 9 |
| 10 namespace ash { | 10 namespace ash { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 case 2: return "third@tray"; | 81 case 2: return "third@tray"; |
| 82 default: return "someone@tray"; | 82 default: return "someone@tray"; |
| 83 } | 83 } |
| 84 } | 84 } |
| 85 | 85 |
| 86 const gfx::ImageSkia& TestSessionStateDelegate::GetUserImage( | 86 const gfx::ImageSkia& TestSessionStateDelegate::GetUserImage( |
| 87 ash::MultiProfileIndex index) const { | 87 ash::MultiProfileIndex index) const { |
| 88 return null_image_; | 88 return null_image_; |
| 89 } | 89 } |
| 90 | 90 |
| 91 void TestSessionStateDelegate::GetLoggedInUsers(UserEmailList* users) { | 91 void TestSessionStateDelegate::GetLoggedInUsers(UserIdList* users) { |
| 92 } | 92 } |
| 93 | 93 |
| 94 void TestSessionStateDelegate::SwitchActiveUser(const std::string& email) { | 94 void TestSessionStateDelegate::SwitchActiveUser(const std::string& email) { |
| 95 activated_user_ = email; | 95 activated_user_ = email; |
| 96 } | 96 } |
| 97 | 97 |
| 98 void TestSessionStateDelegate::AddSessionStateObserver( |
| 99 ash::SessionStateObserver* observer) { |
| 100 } |
| 101 |
| 102 void TestSessionStateDelegate::RemoveSessionStateObserver( |
| 103 ash::SessionStateObserver* observer) { |
| 104 } |
| 98 | 105 |
| 99 } // namespace test | 106 } // namespace test |
| 100 } // namespace ash | 107 } // namespace ash |
| OLD | NEW |