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

Unified Diff: chrome/browser/ui/app_list/profile_store.h

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: review 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
Index: chrome/browser/ui/app_list/profile_store.h
diff --git a/chrome/browser/ui/app_list/profile_store.h b/chrome/browser/ui/app_list/profile_store.h
index 2d6036334d39cdc1b2f702ac873317a93181d0a0..90bd740fe517c12ea686188b065f0025196cfe79 100644
--- a/chrome/browser/ui/app_list/profile_store.h
+++ b/chrome/browser/ui/app_list/profile_store.h
@@ -29,6 +29,9 @@ class ProfileStore {
// Chrome.
virtual base::FilePath GetUserDataDir() = 0;
+ // The name of the last used profile.
+ virtual std::string GetLastUsedProfileName() = 0;
+
// Returns true if the profile at |path| is supervised.
virtual bool IsProfileSupervised(const base::FilePath& path) = 0;

Powered by Google App Engine
This is Rietveld 408576698