WiFiServiceImpl (Windows): Fixed wrong authentication type with WEP-PSK.
[chromium-blink-merge.git] / components / user_manager / user_info_impl.cc
blob6aa21a8adb71cf0d13822212cd78f55b3fb7542b
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.
5 #include "components/user_manager/user_info_impl.h"
7 #include "base/logging.h"
8 #include "base/strings/utf_string_conversions.h"
10 namespace user_manager {
12 UserInfoImpl::UserInfoImpl() {
15 UserInfoImpl::~UserInfoImpl() {
18 base::string16 UserInfoImpl::GetDisplayName() const {
19 return base::UTF8ToUTF16("stub-user");
22 base::string16 UserInfoImpl::GetGivenName() const {
23 return base::UTF8ToUTF16("Stub");
26 std::string UserInfoImpl::GetEmail() const {
27 return "stub-user@domain.com";
30 std::string UserInfoImpl::GetUserID() const {
31 return GetEmail();
34 const gfx::ImageSkia& UserInfoImpl::GetImage() const {
35 return user_image_;
38 } // namespace user_manager