Chromium Code Reviews| 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..ccd2f783ebc073fd113af5f9d4e85942f9d19acf 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> |
|
tapted
2016/01/31 23:04:37
nit: and this is only needed to implement the head
lwchkg
2016/02/01 06:31:20
Acknowledged.
|
| + |
| #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(ProfileAttributesStorage::Observer, observer_list_, |
| OnProfileWillBeRemoved(path)); |
| loaded_profiles_.erase(path); |
| - FOR_EACH_OBSERVER(ProfileInfoCacheObserver, observer_list_, |
| + FOR_EACH_OBSERVER(ProfileAttributesStorage::Observer, observer_list_, |
| OnProfileWasRemoved(path, base::string16())); |
| } |
| void FakeProfileStore::AddProfileObserver( |
| - ProfileInfoCacheObserver* observer) { |
| + ProfileAttributesStorage::Observer* observer) { |
| observer_list_.AddObserver(observer); |
| } |