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 641940f32be5e33d3d8ed35d48c25f1bcf333538..7966171f0078874e420fb26a220f1010142060ee 100644 |
--- a/chrome/browser/ui/app_list/test/fake_profile_store.cc |
+++ b/chrome/browser/ui/app_list/test/fake_profile_store.cc |
@@ -6,8 +6,10 @@ |
#include "chrome/browser/profiles/profile.h" |
-FakeProfileStore::FakeProfileStore(const base::FilePath& user_data_dir) |
- : user_data_dir_(user_data_dir) { |
+FakeProfileStore::FakeProfileStore(const base::FilePath& user_data_dir, |
+ const std::string& last_used_profile) |
+ : user_data_dir_(user_data_dir), |
+ last_used_profile_name_(last_used_profile) { |
} |
FakeProfileStore::~FakeProfileStore() { |
@@ -59,6 +61,10 @@ base::FilePath FakeProfileStore::GetUserDataDir() { |
return user_data_dir_; |
} |
+std::string FakeProfileStore::GetLastUsedProfileName() { |
+ return last_used_profile_name_; |
+} |
+ |
bool FakeProfileStore::IsProfileSupervised(const base::FilePath& path) { |
return false; |
} |