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