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

Unified Diff: components/user_manager/user_manager_base.h

Issue 1865133002: kiosk: Fix kiosk session restart (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make kiosk apps known users Created 4 years, 8 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: components/user_manager/user_manager_base.h
diff --git a/components/user_manager/user_manager_base.h b/components/user_manager/user_manager_base.h
index 00360edb2f2203a75aae70614c3a6f84f6c367c5..eedef10582fd7e1e27c709ec2b5d40fa89039ab7 100644
--- a/components/user_manager/user_manager_base.h
+++ b/components/user_manager/user_manager_base.h
@@ -153,12 +153,10 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
// Returns true if device is enterprise managed.
virtual bool IsEnterpriseManaged() const = 0;
- // Helper function that copies users from |users_list| to |users_vector| and
- // |users_set|. Duplicates and users already present in |existing_users| are
- // skipped.
- // Loads public accounts from the Local state and fills in
- // |public_sessions_set|.
- virtual void LoadPublicAccounts(std::set<AccountId>* public_sessions_set) = 0;
+ // Loads device local accounts from the Local state and fills in
+ // |device_local_accounts_set|.
+ virtual void LoadDeviceLocalAccounts(
+ std::set<AccountId>* device_local_accounts_set) = 0;
// Notifies that user has logged in.
virtual void NotifyOnLogin();
@@ -206,9 +204,6 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
// Returns true if |account_id| represents demo app.
virtual bool IsDemoApp(const AccountId& account_id) const = 0;
- // Returns true if |account_id| represents kiosk app.
- virtual bool IsKioskApp(const AccountId& account_id) const = 0;
-
// Returns true if |account_id| represents public account that has been marked
// for deletion.
virtual bool IsPublicAccountMarkedForRemoval(
@@ -223,7 +218,7 @@ class USER_MANAGER_EXPORT UserManagerBase : public UserManager {
virtual void GuestUserLoggedIn();
// Indicates that a kiosk app robot just logged in.
- virtual void KioskAppLoggedIn(const AccountId& kiosk_app_account_id) = 0;
+ virtual void KioskAppLoggedIn(User* user) = 0;
// Indicates that a user just logged into a public session.
virtual void PublicAccountUserLoggedIn(User* user) = 0;

Powered by Google App Engine
This is Rietveld 408576698