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

Unified Diff: tools/json_schema_compiler/test/objects_movable_json.json

Issue 1829753003: [Extensions] Update generated code to support movable additional properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Antony's Created 4 years, 9 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/test/objects_movable_json.json
diff --git a/tools/json_schema_compiler/test/objects_movable_json.json b/tools/json_schema_compiler/test/objects_movable_json.json
new file mode 100644
index 0000000000000000000000000000000000000000..282fb2ad3e365f895de71d677c9cb3f2c2a6e293
--- /dev/null
+++ b/tools/json_schema_compiler/test/objects_movable_json.json
@@ -0,0 +1,18 @@
+[
+ {
+ "namespace": "objectsMovableJson",
+ "description": "Movable objects in a json file",
+ "compiler_options": {"use_movable_types": true},
+ "types": [{
+ "id": "movableWithAdditional",
+ "type": "object",
+ "properties": {
+ "str": {"type": "string"}
+ },
+ "additionalProperties": {
+ "type": "array",
+ "items": {"type": "string"}
+ }
+ }]
+ }
+]
« no previous file with comments | « tools/json_schema_compiler/test/objects_movable.idl ('k') | tools/json_schema_compiler/test/objects_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698