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

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

Issue 16035013: ProfileInfoCacheObserver: All methods now have a default empty implementation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 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
diff --git a/chrome/browser/profiles/profile_info_cache_observer.h b/chrome/browser/profiles/profile_info_cache_observer.h
index 746c1ed833f89f487e15a1a62ca193afeb348351..c31341f92a7db3fa693d62be989778d8063bad64 100644
--- a/chrome/browser/profiles/profile_info_cache_observer.h
+++ b/chrome/browser/profiles/profile_info_cache_observer.h
@@ -18,13 +18,13 @@ class ProfileInfoCacheObserver {
public:
virtual ~ProfileInfoCacheObserver() {}
- virtual void OnProfileAdded(const base::FilePath& profile_path) = 0;
- virtual void OnProfileWillBeRemoved(const base::FilePath& profile_path) = 0;
+ virtual void OnProfileAdded(const base::FilePath& profile_path) {}
+ virtual void OnProfileWillBeRemoved(const base::FilePath& profile_path) {}
virtual void OnProfileWasRemoved(const base::FilePath& profile_path,
- const string16& profile_name) = 0;
+ const string16& profile_name) {}
virtual void OnProfileNameChanged(const base::FilePath& profile_path,
- const string16& old_profile_name) = 0;
- virtual void OnProfileAvatarChanged(const base::FilePath& profile_path) = 0;
+ const string16& old_profile_name) {}
+ virtual void OnProfileAvatarChanged(const base::FilePath& profile_path) {}
protected:
ProfileInfoCacheObserver() {}
« no previous file with comments | « chrome/browser/background/background_mode_manager.cc ('k') | chrome/browser/profiles/profile_manager_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698