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

Side by Side Diff: components/user_manager/empty_user_info.cc

Issue 2450183002: Rename UserInfo method GetEmail to GetDisplayEmail. (Closed)
Patch Set: Fixed build in a dependent CL. Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/user_manager/empty_user_info.h" 5 #include "components/user_manager/empty_user_info.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "components/signin/core/account_id/account_id.h" 9 #include "components/signin/core/account_id/account_id.h"
10 10
11 namespace user_manager { 11 namespace user_manager {
12 12
13 EmptyUserInfo::EmptyUserInfo() { 13 EmptyUserInfo::EmptyUserInfo() {
14 } 14 }
15 15
16 EmptyUserInfo::~EmptyUserInfo() { 16 EmptyUserInfo::~EmptyUserInfo() {
17 } 17 }
18 18
19 base::string16 EmptyUserInfo::GetDisplayName() const { 19 base::string16 EmptyUserInfo::GetDisplayName() const {
20 NOTIMPLEMENTED(); 20 NOTIMPLEMENTED();
21 return base::string16(); 21 return base::string16();
22 } 22 }
23 23
24 base::string16 EmptyUserInfo::GetGivenName() const { 24 base::string16 EmptyUserInfo::GetGivenName() const {
25 NOTIMPLEMENTED(); 25 NOTIMPLEMENTED();
26 return base::string16(); 26 return base::string16();
27 } 27 }
28 28
29 std::string EmptyUserInfo::GetEmail() const { 29 std::string EmptyUserInfo::GetDisplayEmail() const {
30 NOTIMPLEMENTED(); 30 NOTIMPLEMENTED();
31 return std::string(); 31 return std::string();
32 } 32 }
33 33
34 const AccountId& EmptyUserInfo::GetAccountId() const { 34 const AccountId& EmptyUserInfo::GetAccountId() const {
35 NOTIMPLEMENTED(); 35 NOTIMPLEMENTED();
36 return EmptyAccountId(); 36 return EmptyAccountId();
37 } 37 }
38 38
39 const gfx::ImageSkia& EmptyUserInfo::GetImage() const { 39 const gfx::ImageSkia& EmptyUserInfo::GetImage() const {
40 NOTIMPLEMENTED(); 40 NOTIMPLEMENTED();
41 // To make the compiler happy. 41 // To make the compiler happy.
42 return null_image_; 42 return null_image_;
43 } 43 }
44 44
45 } // namespace user_manager 45 } // namespace user_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698