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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.h

Issue 2601803003: Introduce kiosk.autolaunched feature session type (Closed)
Patch Set: . Created 4 years 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/login/session/user_session_manager.h
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.h b/chrome/browser/chromeos/login/session/user_session_manager.h
index 9fd6ab2598fc4061dbc956fd468813b9fbc08d6c..bf3764bb8bbaebd940b47139b48c2ad04c1ccc97 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.h
+++ b/chrome/browser/chromeos/login/session/user_session_manager.h
@@ -338,6 +338,14 @@ class UserSessionManager
// Initializes RLZ. If |disabled| is true, RLZ pings are disabled.
void InitRlzImpl(Profile* profile, bool disabled);
+ // If |user| is not a kiosk app, sets session type as seen by extensions
+ // feature system according to |user|'s type.
+ // The value should eventually be set for kiosk users, too - that's done as
+ // part of special, kiosk user session bring-up.
+ // NOTE: This has to be called before profile is initialized - so it is set up
+ // when extension are loaded during profile initialization.
+ void InitNonKioskExtensionFeaturesSessionType(const user_manager::User* user);
+
// Callback to process RetrieveActiveSessions() request results.
void OnRestoreActiveSessions(
const SessionManagerClient::ActiveSessionsMap& sessions,

Powered by Google App Engine
This is Rietveld 408576698