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

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, 3 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 9b04a7965a5abc310b334cd6d00b861396fbf913..9e0b8fb6883c2a1116e1936c8568e4cc155780c3 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': 'FeatureSessionType::REGULAR',
+ 'kiosk': 'FeatureSessionType::KIOSK',
+ }
+ }
+ },
'whitelist': {
list: {'subtype': unicode}
},
« no previous file with comments | « extensions/common/features/simple_feature_unittest.cc ('k') | tools/json_schema_compiler/feature_compiler_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698