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

Unified Diff: chrome/browser/profiles/profile_info_cache_unittest.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_unittest.h
===================================================================
--- chrome/browser/profiles/profile_info_cache_unittest.h (revision 115334)
+++ chrome/browser/profiles/profile_info_cache_unittest.h (working copy)
@@ -21,15 +21,13 @@
// unexpected profile names.
class ProfileNameVerifierObserver : public ProfileInfoCacheObserver {
public:
- ProfileNameVerifierObserver();
+ explicit ProfileNameVerifierObserver(ProfileInfoCache* cache);
virtual ~ProfileNameVerifierObserver();
// ProfileInfoCacheObserver overrides:
virtual void OnProfileAdded(
- const string16& profile_name,
- const string16& profile_base_dir,
const FilePath& profile_path,
- const gfx::Image* avatar_image) OVERRIDE;
+ const string16& profile_base_dir) OVERRIDE;
virtual void OnProfileWillBeRemoved(
const string16& profile_name) OVERRIDE;
virtual void OnProfileWasRemoved(
@@ -38,12 +36,11 @@
const string16& old_profile_name,
const string16& new_profile_name) OVERRIDE;
virtual void OnProfileAvatarChanged(
- const string16& profile_name,
- const string16& profile_base_dir,
const FilePath& profile_path,
- const gfx::Image* avatar_image) OVERRIDE;
+ const string16& profile_base_dir) OVERRIDE;
private:
+ ProfileInfoCache* cache_;
std::set<string16> profile_names_;
DISALLOW_COPY_AND_ASSIGN(ProfileNameVerifierObserver);
};

Powered by Google App Engine
This is Rietveld 408576698