Index: chrome/browser/ui/app_list/test/fake_profile_store.cc |
diff --git a/chrome/browser/ui/app_list/test/fake_profile_store.cc b/chrome/browser/ui/app_list/test/fake_profile_store.cc |
index 549315bd300c50e03de71afbb03f119e6b163d52..a4084dec011f9d02e7880587df294f6b20397e1d 100644 |
--- a/chrome/browser/ui/app_list/test/fake_profile_store.cc |
+++ b/chrome/browser/ui/app_list/test/fake_profile_store.cc |
@@ -4,6 +4,8 @@ |
#include "chrome/browser/ui/app_list/test/fake_profile_store.h" |
+#include <string> |
+ |
#include "base/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/chrome_constants.h" |
@@ -28,15 +30,15 @@ void FakeProfileStore::LoadProfile(Profile* profile) { |
void FakeProfileStore::RemoveProfile(Profile* profile) { |
base::FilePath path(profile->GetPath()); |
- FOR_EACH_OBSERVER(ProfileInfoCacheObserver, observer_list_, |
+ FOR_EACH_OBSERVER(ProfileAttributesStorageObserver, observer_list_, |
OnProfileWillBeRemoved(path)); |
loaded_profiles_.erase(path); |
- FOR_EACH_OBSERVER(ProfileInfoCacheObserver, observer_list_, |
+ FOR_EACH_OBSERVER(ProfileAttributesStorageObserver, observer_list_, |
OnProfileWasRemoved(path, base::string16())); |
} |
void FakeProfileStore::AddProfileObserver( |
- ProfileInfoCacheObserver* observer) { |
+ ProfileAttributesStorageObserver* observer) { |
observer_list_.AddObserver(observer); |
} |