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

Unified Diff: chrome/browser/ui/app_list/test/fake_profile_store.cc

Issue 1631373003: Refactor ProfileInfoCache in c/b/ui/app_list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to std::cref Created 4 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/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..935aaff5c8dfd70857cd54c3ad46430a0a96bc9a 100644
--- a/chrome/browser/ui/app_list/test/fake_profile_store.cc
+++ b/chrome/browser/ui/app_list/test/fake_profile_store.cc
@@ -28,15 +28,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);
}

Powered by Google App Engine
This is Rietveld 408576698