Index: extensions/renderer/dispatcher.h |
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h |
index 49d9aacf5b6866f003ca7eba1f00e4950b742641..e0d32cede1797a06865dc413d34263afded79311 100644 |
--- a/extensions/renderer/dispatcher.h |
+++ b/extensions/renderer/dispatcher.h |
@@ -202,6 +202,7 @@ class Dispatcher : public content::RenderThreadObserver, |
int tab_id); |
void OnUsingWebRequestAPI(bool webrequest_used); |
void OnSetActivityLoggingEnabled(bool enabled); |
+ void OnSetUserSessionType(Feature::SessionType session_type); |
// UserScriptSetManager::Observer implementation. |
void OnUserScriptsUpdated(const std::set<HostID>& changed_hosts) override; |
@@ -314,6 +315,11 @@ class Dispatcher : public content::RenderThreadObserver, |
// Whether or not extension activity is enabled. |
bool activity_logging_enabled_; |
+ // The session type in which the process is running. The session type depends |
+ // on the type of user which is logged the session (e.g. kiosk app, regular |
+ // user). |
+ Feature::SessionType session_type_; |
+ |
// The WebView partition ID associated with this process's storage partition, |
// if this renderer is a WebView guest render process. Otherwise, this will be |
// empty. |