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

Unified Diff: tools/json_schema_compiler/feature_compiler.py

Issue 2255613003: Introduce session type parameter to extension features (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce session type parameter to extension features Created 4 years, 4 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: tools/json_schema_compiler/feature_compiler.py
diff --git a/tools/json_schema_compiler/feature_compiler.py b/tools/json_schema_compiler/feature_compiler.py
index d28880220ec5ccfe3adc560cc9174b4b49afb717..d3525281e53b801ad7a488f041d704525134058f 100644
--- a/tools/json_schema_compiler/feature_compiler.py
+++ b/tools/json_schema_compiler/feature_compiler.py
@@ -189,6 +189,14 @@ FEATURE_GRAMMAR = (
}
}
},
+ 'session_types': {
+ list: {
+ 'enum_map': {
+ 'regular': 'Feature::SESSION_TYPE_REGULAR',
+ 'kiosk': 'Feature::SESSION_TYPE_KIOSK',
+ }
+ }
+ },
'whitelist': {
list: {'subtype': unicode}
},

Powered by Google App Engine
This is Rietveld 408576698