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

Unified Diff: trunk/src/chrome/browser/chromeos/login/user.cc

Issue 260783002: Revert 267158 "CleanUp: Introduce UserInfo. Move session_state s..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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: trunk/src/chrome/browser/chromeos/login/user.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/login/user.cc (revision 267249)
+++ trunk/src/chrome/browser/chromeos/login/user.cc (working copy)
@@ -10,7 +10,6 @@
#include "base/threading/thread_restrictions.h"
#include "chrome/browser/chromeos/login/default_user_images.h"
#include "chrome/browser/chromeos/login/user_manager.h"
-#include "google_apis/gaia/gaia_auth_util.h"
#include "grit/theme_resources.h"
#include "ui/base/resource/resource_bundle.h"
@@ -169,10 +168,6 @@
auth_flow = other.auth_flow;
}
-std::string User::GetEmail() const {
- return display_email();
-}
-
base::string16 User::GetDisplayName() const {
// Fallback to the email account name in case display name haven't been set.
return display_name_.empty() ?
@@ -180,19 +175,6 @@
display_name_;
}
-base::string16 User::GetGivenName() const {
- return given_name_;
-}
-
-const gfx::ImageSkia& User::GetImage() const {
- return user_image_.image();
-}
-
-std::string User::GetUserID() const {
- return gaia::CanonicalizeEmail(gaia::SanitizeEmail(
- email()));
-}
-
std::string User::GetAccountName(bool use_display_email) const {
if (use_display_email && !display_email_.empty())
return GetUserName(display_email_);

Powered by Google App Engine
This is Rietveld 408576698