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

Unified Diff: chrome/browser/chromeos/profiles/profile_helper.h

Issue 2945023002: Introduce profile for lock screen apps (Closed)
Patch Set: rebase Created 3 years, 6 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/chromeos/profiles/profile_helper.h
diff --git a/chrome/browser/chromeos/profiles/profile_helper.h b/chrome/browser/chromeos/profiles/profile_helper.h
index a71b4b6a0058b219be5fc1decc083f15de5421cc..2c302ba00b879db713f38b2496371ac24734aa35 100644
--- a/chrome/browser/chromeos/profiles/profile_helper.h
+++ b/chrome/browser/chromeos/profiles/profile_helper.h
@@ -106,6 +106,19 @@ class ProfileHelper
// signin Profile.
static bool IsSigninProfile(const Profile* profile);
+ // Returns the path used for the lock screen apps profile - profile used
+ // for launching platform apps that can display windows on top of the lock
+ // screen.
+ static base::FilePath GetLockScreenAppProfilePath();
+
+ // Returns the name used for the lock screen app profile.
+ static std::string GetLockScreenAppProfileName();
+
+ // Returns whether |profile| is the lock screen app profile - the profile used
+ // for launching platform apps that can display a window on top of the lock
+ // screen.
+ static bool IsLockScreenAppProfile(const Profile* profile);
+
// Returns true when |profile| corresponds to owner's profile.
static bool IsOwnerProfile(const Profile* profile);

Powered by Google App Engine
This is Rietveld 408576698