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

Unified Diff: chrome/browser/ui/webui/options/chromeos/user_image_source.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
Index: chrome/browser/ui/webui/options/chromeos/user_image_source.h
diff --git a/chrome/browser/ui/webui/options/chromeos/user_image_source.h b/chrome/browser/ui/webui/options/chromeos/user_image_source.h
index 5d9b5417665cb3bd6e50fc06a4e74a68735f64f3..f7a2fb6982bfb442a6dcd753294804995c41feaf 100644
--- a/chrome/browser/ui/webui/options/chromeos/user_image_source.h
+++ b/chrome/browser/ui/webui/options/chromeos/user_image_source.h
@@ -35,9 +35,11 @@
const content::URLDataSource::GotDataCallback& callback) OVERRIDE;
virtual std::string GetMimeType(const std::string& path) const OVERRIDE;
- // Returns PNG encoded image for user with specified email. If there's
+ // Returns PNG or GIF (when possible and if |is_image_animated| flag
+ // is true) encoded image for user with specified email. If there's
// no user with such email, returns the first default image.
base::RefCountedMemory* GetUserImage(const std::string& email,
+ bool is_image_animated,
ui::ScaleFactor scale_factor) const;
private:
« no previous file with comments | « chrome/browser/resources/chromeos/user_images_grid.js ('k') | chrome/browser/ui/webui/options/chromeos/user_image_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698