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

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

Issue 379803004: Move UserInfo to user_manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 months 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 | Annotate | Revision Log
« no previous file with comments | « components/user_manager/empty_user_info.h ('k') | components/user_manager/user_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/user_manager/empty_user_info.h"
6
7 #include "base/logging.h"
8 #include "base/strings/utf_string_conversions.h"
9
10 namespace user_manager {
11
12 EmptyUserInfo::EmptyUserInfo() {
13 }
14
15 EmptyUserInfo::~EmptyUserInfo() {
16 }
17
18 base::string16 EmptyUserInfo::GetDisplayName() const {
19 NOTIMPLEMENTED();
20 return base::UTF8ToUTF16(std::string());
21 }
22
23 base::string16 EmptyUserInfo::GetGivenName() const {
24 NOTIMPLEMENTED();
25 return base::UTF8ToUTF16(std::string());
26 }
27
28 std::string EmptyUserInfo::GetEmail() const {
29 NOTIMPLEMENTED();
30 return std::string();
31 }
32
33 std::string EmptyUserInfo::GetUserID() const {
34 NOTIMPLEMENTED();
35 return std::string();
36 }
37
38 const gfx::ImageSkia& EmptyUserInfo::GetImage() const {
39 NOTIMPLEMENTED();
40 // To make the compiler happy.
41 return null_image_;
42 }
43
44 } // namespace user_manager
OLDNEW
« no previous file with comments | « components/user_manager/empty_user_info.h ('k') | components/user_manager/user_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698