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

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.h

Issue 10832336: chromeos: Use gfx::ImageSkia instead of SkBitmap for downloaded profile image. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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 | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_manager_impl.h
diff --git a/chrome/browser/chromeos/login/user_manager_impl.h b/chrome/browser/chromeos/login/user_manager_impl.h
index d63dbc975f3f4a593c6981e21ebe6056e564add9..c1957d79c7f87b740cf5a71bb3af47fc741bd2ff 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.h
+++ b/chrome/browser/chromeos/login/user_manager_impl.h
@@ -24,6 +24,7 @@
#include "chrome/browser/sync/profile_sync_service_observer.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "ui/gfx/image/image_skia.h"
class SkBitmap;
class FilePath;
@@ -94,7 +95,7 @@ class UserManagerImpl : public UserManager,
virtual void AddObserver(Observer* obs) OVERRIDE;
virtual void RemoveObserver(Observer* obs) OVERRIDE;
virtual void NotifyLocalStateChanged() OVERRIDE;
- virtual const SkBitmap& DownloadedProfileImage() const OVERRIDE;
+ virtual const gfx::ImageSkia& DownloadedProfileImage() const OVERRIDE;
// content::NotificationObserver implementation.
virtual void Observe(int type,
@@ -300,7 +301,7 @@ class UserManagerImpl : public UserManager,
bool last_image_set_async_;
// Result of the last successful profile image download, if any.
- SkBitmap downloaded_profile_image_;
+ gfx::ImageSkia downloaded_profile_image_;
// Data URL for |downloaded_profile_image_|.
std::string downloaded_profile_image_data_url_;
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698