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

Unified Diff: extensions/common/features/feature_session_type.h

Issue 2601803003: Introduce kiosk.autolaunched feature session type (Closed)
Patch Set: . Created 3 years, 11 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: extensions/common/features/feature_session_type.h
diff --git a/extensions/common/features/feature_session_type.h b/extensions/common/features/feature_session_type.h
index bd202ceb6cf28b01613c81d0769753b7728348b9..443cf86040895d594fa6fcd6b4a6fae699558f20 100644
--- a/extensions/common/features/feature_session_type.h
+++ b/extensions/common/features/feature_session_type.h
@@ -24,8 +24,11 @@ enum class FeatureSessionType {
REGULAR = 2,
// Kiosk app session.
KIOSK = 3,
+ // Kiosk app session that's been auto-launched from login screen (without
+ // any user interaction).
+ AUTOLAUNCHED_KIOSK = 4,
// Helper for determining max enum value - not used as a real type.
- LAST = KIOSK
+ LAST = AUTOLAUNCHED_KIOSK
};
// Gets the current session type as seen by the Feature system.
@@ -38,7 +41,7 @@ void SetCurrentFeatureSessionType(FeatureSessionType session_type);
// Scoped session type setter. Use for tests.
std::unique_ptr<base::AutoReset<FeatureSessionType>>
-ScopedCurrentFeatureSessionType(FeatureSessionType type);
+ScopedCurrentFeatureSessionType(FeatureSessionType session_type);
} // namespace extensions
« no previous file with comments | « chrome/test/data/extensions/extension_api_unittest/api_features.json ('k') | extensions/common/features/simple_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698