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

Unified Diff: chrome/browser/chromeos/login/user_manager.cc

Issue 8742009: Cache GAIA profile picture URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 9 years, 1 month 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
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/profiles/gaia_info_update_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager.cc
diff --git a/chrome/browser/chromeos/login/user_manager.cc b/chrome/browser/chromeos/login/user_manager.cc
index ec0f893e8a4526c85de6aa452bf196c023ca425e..b5785f61bd49f88f405ff2433221b5120a8f04e1 100644
--- a/chrome/browser/chromeos/login/user_manager.cc
+++ b/chrome/browser/chromeos/login/user_manager.cc
@@ -832,7 +832,7 @@ void UserManager::CheckOwnership() {
is_owner));
}
-int UserManager::GetDesiredImageSideLength() {
+int UserManager::GetDesiredImageSideLength() const {
return login::kUserImageSize;
}
@@ -840,10 +840,15 @@ Profile* UserManager::GetBrowserProfile() {
return ProfileManager::GetDefaultProfile();
}
-bool UserManager::ShouldUseOAuthRefreshToken() {
+bool UserManager::ShouldUseOAuthRefreshToken() const {
return false;
}
+std::string UserManager::GetCachedPictureURL() const {
+ // Currently the profile picture URL is not cached on ChromeOS.
+ return std::string();
+}
+
void UserManager::OnDownloadComplete(ProfileDownloader* downloader,
bool success) {
ProfileDownloadResult result;
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/profiles/gaia_info_update_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698