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

Unified Diff: chrome/browser/chromeos/login/users/user.h

Issue 411523005: Revert of Clean up. Experimental user avatars removed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/user_images_grid.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/users/user.h
diff --git a/chrome/browser/chromeos/login/users/user.h b/chrome/browser/chromeos/login/users/user.h
index 74c392ac20ed9a1e5c6c09ec81af1b8c1e9dfcb5..9a9f54fcf090e00745a509210534e16608d86d4b 100644
--- a/chrome/browser/chromeos/login/users/user.h
+++ b/chrome/browser/chromeos/login/users/user.h
@@ -86,6 +86,11 @@
const user_manager::UserImage::RawImage& raw_image() const {
return user_image_.raw_image();
}
+ bool has_animated_image() const { return user_image_.has_animated_image(); }
+ // Returns raw representation of animated user image.
+ const user_manager::UserImage::RawImage& animated_image() const {
+ return user_image_.animated_image();
+ }
// Whether |raw_image| contains data in format that is considered safe to
// decode in sensitive environment (on Login screen).
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/user_images_grid.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698