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

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

Issue 1631373003: Refactor ProfileInfoCache in c/b/ui/app_list (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, respond to comments Created 4 years, 10 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
« no previous file with comments | « chrome/browser/ui/app_list/profile_store.h ('k') | chrome/browser/ui/app_list/test/fake_profile_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/app_list/test/fake_profile_store.h
diff --git a/chrome/browser/ui/app_list/test/fake_profile_store.h b/chrome/browser/ui/app_list/test/fake_profile_store.h
index 2b2c586d51373bf1a41f3015b39999c50cf137a3..06a3c5500bfff3508a476c0c1c80c7053a4e9302 100644
--- a/chrome/browser/ui/app_list/test/fake_profile_store.h
+++ b/chrome/browser/ui/app_list/test/fake_profile_store.h
@@ -9,6 +9,7 @@
#include "base/callback.h"
#include "base/observer_list.h"
+#include "chrome/browser/profiles/profile_attributes_storage.h"
#include "chrome/browser/ui/app_list/profile_store.h"
class PrefService;
@@ -23,7 +24,8 @@ class FakeProfileStore : public ProfileStore {
void RemoveProfile(Profile* profile);
// ProfileStore overrides.
- void AddProfileObserver(ProfileInfoCacheObserver* observer) override;
+ void AddProfileObserver(ProfileAttributesStorage::Observer* observer)
+ override;
void LoadProfileAsync(const base::FilePath& path,
base::Callback<void(Profile*)> callback) override;
Profile* GetProfileByPath(const base::FilePath& path) override;
@@ -38,7 +40,7 @@ class FakeProfileStore : public ProfileStore {
typedef std::map<base::FilePath, base::Callback<void(Profile*)> >
CallbacksByPath;
CallbacksByPath callbacks_;
- base::ObserverList<ProfileInfoCacheObserver> observer_list_;
+ base::ObserverList<ProfileAttributesStorage::Observer> observer_list_;
typedef std::map<base::FilePath, Profile*> ProfilesByPath;
ProfilesByPath loaded_profiles_;
};
« no previous file with comments | « chrome/browser/ui/app_list/profile_store.h ('k') | chrome/browser/ui/app_list/test/fake_profile_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698