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

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

Issue 2945023002: Introduce profile for lock screen apps (Closed)
Patch Set: . 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..19683b60a366889ec9cd969aed077fa1e900cf43 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 windowa on top of the lock
Mr4D (OOO till 08-26) 2017/06/22 21:28:09 windowa = "a window" ?
tbarzic 2017/06/22 22:01:35 Done.
+ // 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