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

Unified Diff: chrome/browser/profiles/avatar_menu_model.h

Issue 8511064: GAIA Profile info prototype (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/profiles/avatar_menu_model.h
diff --git a/chrome/browser/profiles/avatar_menu_model.h b/chrome/browser/profiles/avatar_menu_model.h
index 73f75de2c8551bf4758c8fe562f576417f170aa1..85abe85272a576758d8bb75069d94a6d8b877cb1 100644
--- a/chrome/browser/profiles/avatar_menu_model.h
+++ b/chrome/browser/profiles/avatar_menu_model.h
@@ -12,15 +12,12 @@
#include "base/string16.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "ui/gfx/image/image.h"
class AvatarMenuModelObserver;
class Browser;
class ProfileInfoInterface;
-namespace gfx {
-class Image;
-}
-
// This class is the model for the menu-like interface that appears when the
// avatar icon is clicked in the browser window frame. This class will notify
// its observer when the backend data changes, and the controller/view for this
@@ -33,7 +30,7 @@ class AvatarMenuModel : public content::NotificationObserver {
~Item();
// The icon to be displayed next to the item.
- const gfx::Image& icon;
+ gfx::Image icon;
// Whether or not the current browser is using this profile.
bool active;
« no previous file with comments | « chrome/browser/gaia_userinfo/profile_image_downloader.cc ('k') | chrome/browser/profiles/avatar_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698