Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: ash/test/test_session_state_delegate.cc

Issue 1454153002: Revert of This CL replaces e-mail with AccountId on user selection screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/app_launch_signin_screen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/app_launch_signin_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698