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

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

Issue 1113333003: Don't create a new profile when cleaning up stale ephemeral profiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fix Created 5 years, 7 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/test/fake_profile_store.h ('k') | no next file » | 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.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;
}
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698