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

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

Issue 9020013: Refactor ProfileInfoCacheObserver interface and usage thereof. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: init 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 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() {}
« no previous file with comments | « chrome/browser/profiles/profile_info_cache.cc ('k') | chrome/browser/profiles/profile_info_cache_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698