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

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..9a02d91d5688afaf54128b1daf0bd20b669eb4ba 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 accordign to |user|'s type.
Devlin 2016/12/29 17:15:37 typo: according
tbarzic 2016/12/29 20:29:58 Done.
+ // 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