OLD | NEW |
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" | |
10 | 9 |
11 namespace user_manager { | 10 namespace user_manager { |
12 | 11 |
13 EmptyUserInfo::EmptyUserInfo() { | 12 EmptyUserInfo::EmptyUserInfo() { |
14 } | 13 } |
15 | 14 |
16 EmptyUserInfo::~EmptyUserInfo() { | 15 EmptyUserInfo::~EmptyUserInfo() { |
17 } | 16 } |
18 | 17 |
19 base::string16 EmptyUserInfo::GetDisplayName() const { | 18 base::string16 EmptyUserInfo::GetDisplayName() const { |
20 NOTIMPLEMENTED(); | 19 NOTIMPLEMENTED(); |
21 return base::string16(); | 20 return base::string16(); |
22 } | 21 } |
23 | 22 |
24 base::string16 EmptyUserInfo::GetGivenName() const { | 23 base::string16 EmptyUserInfo::GetGivenName() const { |
25 NOTIMPLEMENTED(); | 24 NOTIMPLEMENTED(); |
26 return base::string16(); | 25 return base::string16(); |
27 } | 26 } |
28 | 27 |
29 std::string EmptyUserInfo::GetEmail() const { | 28 std::string EmptyUserInfo::GetEmail() const { |
30 NOTIMPLEMENTED(); | 29 NOTIMPLEMENTED(); |
31 return std::string(); | 30 return std::string(); |
32 } | 31 } |
33 | 32 |
34 AccountId EmptyUserInfo::GetAccountId() const { | 33 std::string EmptyUserInfo::GetUserID() const { |
35 NOTIMPLEMENTED(); | 34 NOTIMPLEMENTED(); |
36 return EmptyAccountId(); | 35 return std::string(); |
37 } | 36 } |
38 | 37 |
39 const gfx::ImageSkia& EmptyUserInfo::GetImage() const { | 38 const gfx::ImageSkia& EmptyUserInfo::GetImage() const { |
40 NOTIMPLEMENTED(); | 39 NOTIMPLEMENTED(); |
41 // To make the compiler happy. | 40 // To make the compiler happy. |
42 return null_image_; | 41 return null_image_; |
43 } | 42 } |
44 | 43 |
45 } // namespace user_manager | 44 } // namespace user_manager |
OLD | NEW |