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

Unified Diff: components/user_manager/empty_user_info.cc

Issue 2450183002: Rename UserInfo method GetEmail to GetDisplayEmail. (Closed)
Patch Set: Fix test Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: components/user_manager/empty_user_info.cc
diff --git a/components/user_manager/empty_user_info.cc b/components/user_manager/empty_user_info.cc
deleted file mode 100644
index 07b4087ba0d9c9652b76ecb98d97e016b64c754d..0000000000000000000000000000000000000000
--- a/components/user_manager/empty_user_info.cc
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "components/user_manager/empty_user_info.h"
-
-#include "base/logging.h"
-#include "base/strings/utf_string_conversions.h"
-#include "components/signin/core/account_id/account_id.h"
-
-namespace user_manager {
-
-EmptyUserInfo::EmptyUserInfo() {
-}
-
-EmptyUserInfo::~EmptyUserInfo() {
-}
-
-base::string16 EmptyUserInfo::GetDisplayName() const {
- NOTIMPLEMENTED();
- return base::string16();
-}
-
-base::string16 EmptyUserInfo::GetGivenName() const {
- NOTIMPLEMENTED();
- return base::string16();
-}
-
-std::string EmptyUserInfo::GetEmail() const {
- NOTIMPLEMENTED();
- return std::string();
-}
-
-const AccountId& EmptyUserInfo::GetAccountId() const {
- NOTIMPLEMENTED();
- return EmptyAccountId();
-}
-
-const gfx::ImageSkia& EmptyUserInfo::GetImage() const {
- NOTIMPLEMENTED();
- // To make the compiler happy.
- return null_image_;
-}
-
-} // namespace user_manager

Powered by Google App Engine
This is Rietveld 408576698