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

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

Issue 9271018: Merge 115621 - Refactor ProfileInfoCacheObserver interface and usage thereof. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/963/src/
Patch Set: Created 8 years, 11 months 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 118523)
+++ chrome/browser/profiles/profile_info_cache_observer.h (working copy)
@@ -16,23 +16,13 @@
public:
virtual ~ProfileInfoCacheObserver() {}
- virtual void OnProfileAdded(
- const string16& profile_name,
- const string16& profile_base_dir,
- const FilePath& profile_path,
- const gfx::Image* avatar_image) = 0;
- virtual void OnProfileWillBeRemoved(
- const string16& profile_name) = 0;
- virtual void OnProfileWasRemoved(
- 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;
+ virtual void OnProfileAdded(const FilePath& profile_path) = 0;
+ virtual void OnProfileWillBeRemoved(const FilePath& profile_path) = 0;
+ virtual void OnProfileWasRemoved(const FilePath& profile_path,
+ const string16& profile_name) = 0;
+ virtual void OnProfileNameChanged(const FilePath& profile_path,
+ const string16& old_profile_name) = 0;
+ virtual void OnProfileAvatarChanged(const FilePath& profile_path) = 0;
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