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

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

Issue 8785006: Badge Windows profile shortcuts with multi-user avatar. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Applied some grt memory suggestions. Created 9 years 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/profile_info_cache_observer.h
===================================================================
--- chrome/browser/profiles/profile_info_cache_observer.h (revision 112717)
+++ chrome/browser/profiles/profile_info_cache_observer.h (working copy)
@@ -6,6 +6,10 @@
#define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_
#pragma once
+#include "ui/gfx/image/image.h"
+
+class FilePath;
+
// This class provides an Observer interface to watch for changes to the
// ProfileInfoCache.
class ProfileInfoCacheObserver {
@@ -14,12 +18,19 @@
virtual void OnProfileAdded(
const string16& profile_name,
- const string16& profile_base_dir) = 0;
+ const string16& profile_base_dir,
+ const FilePath& profile_path,
+ const gfx::Image* avatar_image) = 0;
virtual void OnProfileRemoved(
const string16& profile_name) = 0;
virtual void OnProfileNameChanged(
const string16& old_profile_name,
const string16& new_profile_name) = 0;
+ virtual void OnProfileAvatarChanged(
+ const string16& profile_name,
+ const string16& profile_base_dir,
+ const FilePath& profile_path,
+ const gfx::Image* avatar_image) = 0;
protected:
ProfileInfoCacheObserver() {}

Powered by Google App Engine
This is Rietveld 408576698