| 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 a11a68015a3bbd47d926293f1df82976a3d537be..3a5fcd321ffd50d1c3f95b200053fd6671969f33 100644
|
| --- a/chrome/browser/ui/app_list/test/fake_profile_store.h
|
| +++ b/chrome/browser/ui/app_list/test/fake_profile_store.h
|
| @@ -13,7 +13,8 @@
|
|
|
| class FakeProfileStore : public ProfileStore {
|
| public:
|
| - explicit FakeProfileStore(const base::FilePath& user_data_dir);
|
| + explicit FakeProfileStore(const base::FilePath& user_data_dir,
|
| + const std::string& last_used_profile);
|
| ~FakeProfileStore() override;
|
|
|
| void LoadProfile(Profile* profile);
|
| @@ -25,11 +26,13 @@ class FakeProfileStore : public ProfileStore {
|
| base::Callback<void(Profile*)> callback) override;
|
| Profile* GetProfileByPath(const base::FilePath& path) override;
|
| base::FilePath GetUserDataDir() override;
|
| + std::string GetLastUsedProfileName() override;
|
| bool IsProfileSupervised(const base::FilePath& path) override;
|
| bool IsProfileLocked(const base::FilePath& path) override;
|
|
|
| private:
|
| base::FilePath user_data_dir_;
|
| + std::string last_used_profile_name_;
|
| typedef std::map<base::FilePath, base::Callback<void(Profile*)> >
|
| CallbacksByPath;
|
| CallbacksByPath callbacks_;
|
|
|