Chromium Code Reviews| Index: chrome/browser/profiles/profile_info_cache_observer.h |
| =================================================================== |
| --- chrome/browser/profiles/profile_info_cache_observer.h (revision 115334) |
| +++ chrome/browser/profiles/profile_info_cache_observer.h (working copy) |
| @@ -17,10 +17,8 @@ |
| virtual ~ProfileInfoCacheObserver() {} |
| virtual void OnProfileAdded( |
| - const string16& profile_name, |
| - const string16& profile_base_dir, |
| const FilePath& profile_path, |
| - const gfx::Image* avatar_image) = 0; |
| + const string16& profile_base_dir) = 0; |
|
SteveT
2011/12/21 17:12:45
I would love to remove |profile_base_dir| as well,
sail
2011/12/21 17:51:10
Hi Steve, do you actually need the profile_base_di
SteveT
2011/12/21 20:47:03
As I commented above - no we don't, but unfortunat
sail
2011/12/21 21:04:12
I think the Cache key concept should remain privat
|
| virtual void OnProfileWillBeRemoved( |
| const string16& profile_name) = 0; |
|
sail
2011/12/21 17:51:10
If possible, could you change all the callbacks to
SteveT
2011/12/21 20:47:03
Sounds good. All done - except I had to include th
|
| virtual void OnProfileWasRemoved( |
| @@ -29,10 +27,8 @@ |
| 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; |
| + const string16& profile_base_dir) = 0; |
|
SteveT
2011/12/21 17:12:45
As above.
|
| protected: |
| ProfileInfoCacheObserver() {} |