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 3a5fcd321ffd50d1c3f95b200053fd6671969f33..12061b07854fc7d60c99e636c1cecf0b8a76cbeb 100644 |
--- a/chrome/browser/ui/app_list/test/fake_profile_store.h |
+++ b/chrome/browser/ui/app_list/test/fake_profile_store.h |
@@ -11,10 +11,12 @@ |
#include "base/observer_list.h" |
#include "chrome/browser/ui/app_list/profile_store.h" |
+class PrefService; |
+ |
class FakeProfileStore : public ProfileStore { |
public: |
- explicit FakeProfileStore(const base::FilePath& user_data_dir, |
- const std::string& last_used_profile); |
+ FakeProfileStore(const base::FilePath& user_data_dir, |
+ PrefService* local_state); |
~FakeProfileStore() override; |
void LoadProfile(Profile* profile); |
@@ -32,7 +34,7 @@ class FakeProfileStore : public ProfileStore { |
private: |
base::FilePath user_data_dir_; |
- std::string last_used_profile_name_; |
+ PrefService* local_state_; |
typedef std::map<base::FilePath, base::Callback<void(Profile*)> > |
CallbacksByPath; |
CallbacksByPath callbacks_; |