Chromium Code Reviews| 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,8 @@ |
| #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_OBSERVER_H_ |
| #pragma once |
| +#include "ui/gfx/image/image.h" |
| + |
| // This class provides an Observer interface to watch for changes to the |
| // ProfileInfoCache. |
| class ProfileInfoCacheObserver { |
| @@ -14,12 +16,19 @@ |
| virtual void OnProfileAdded( |
| const string16& profile_name, |
| - const string16& profile_base_dir) = 0; |
| + const string16& profile_base_dir, |
| + const string16& profile_path, |
| + const gfx::Image* avatar_image) = 0; |
|
SteveT
2011/12/03 03:19:15
robertshield: Add a comment to this method indicat
|
| 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 string16& profile_path, |
| + const gfx::Image* avatar_image) = 0; |
|
SteveT
2011/12/03 03:19:15
robertshield: ditto
stevet: ditto
|
| protected: |
| ProfileInfoCacheObserver() {} |