| 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/common/test/test_session_state_delegate.h" | 5 #include "ash/common/test/test_session_state_delegate.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/common/login_status.h" | 10 #include "ash/common/login_status.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 } | 47 } |
| 48 | 48 |
| 49 base::string16 GetDisplayName() const override { | 49 base::string16 GetDisplayName() const override { |
| 50 return base::UTF8ToUTF16("Über tray Über tray Über tray Über tray"); | 50 return base::UTF8ToUTF16("Über tray Über tray Über tray Über tray"); |
| 51 } | 51 } |
| 52 | 52 |
| 53 base::string16 GetGivenName() const override { | 53 base::string16 GetGivenName() const override { |
| 54 return base::UTF8ToUTF16("Über Über Über Über"); | 54 return base::UTF8ToUTF16("Über Über Über Über"); |
| 55 } | 55 } |
| 56 | 56 |
| 57 std::string GetEmail() const override { return display_email_; } | 57 std::string GetDisplayEmail() const override { return display_email_; } |
| 58 | 58 |
| 59 const AccountId& GetAccountId() const override { return account_id_; } | 59 const AccountId& GetAccountId() const override { return account_id_; } |
| 60 | 60 |
| 61 const gfx::ImageSkia& GetImage() const override { return user_image_; } | 61 const gfx::ImageSkia& GetImage() const override { return user_image_; } |
| 62 | 62 |
| 63 // A test user image. | 63 // A test user image. |
| 64 gfx::ImageSkia user_image_; | 64 gfx::ImageSkia user_image_; |
| 65 | 65 |
| 66 std::string display_email_; | 66 std::string display_email_; |
| 67 const AccountId account_id_; | 67 const AccountId account_id_; |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 } | 247 } |
| 248 | 248 |
| 249 void TestSessionStateDelegate::AddSessionStateObserver( | 249 void TestSessionStateDelegate::AddSessionStateObserver( |
| 250 SessionStateObserver* observer) {} | 250 SessionStateObserver* observer) {} |
| 251 | 251 |
| 252 void TestSessionStateDelegate::RemoveSessionStateObserver( | 252 void TestSessionStateDelegate::RemoveSessionStateObserver( |
| 253 SessionStateObserver* observer) {} | 253 SessionStateObserver* observer) {} |
| 254 | 254 |
| 255 } // namespace test | 255 } // namespace test |
| 256 } // namespace ash | 256 } // namespace ash |
| OLD | NEW |