summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/compiler.py
diff options
context:
space:
mode:
authorrdevlin.cronin <rdevlin.cronin@chromium.org>2015-04-06 10:19:18 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-06 17:35:43 +0000
commit00f1fc22bfcc653b47d62778170af3eee9855720 (patch)
tree2386d4a7e984d7db6f9cfa0c07409a715832993e /tools/json_schema_compiler/compiler.py
parent86b507da14efeb641795641b24c49f57a07ae879 (diff)
downloadchromium_src-00f1fc22bfcc653b47d62778170af3eee9855720.zip
chromium_src-00f1fc22bfcc653b47d62778170af3eee9855720.tar.gz
chromium_src-00f1fc22bfcc653b47d62778170af3eee9855720.tar.bz2
[Extensions API] Remove inline enums
Remove all inlined enums from extension APIs. BUG=472279 TBR=derat@chromium.org (mechanical changes to chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc and chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc) Review URL: https://codereview.chromium.org/1055673002 Cr-Commit-Position: refs/heads/master@{#323912}
Diffstat (limited to 'tools/json_schema_compiler/compiler.py')
-rwxr-xr-xtools/json_schema_compiler/compiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/json_schema_compiler/compiler.py b/tools/json_schema_compiler/compiler.py
index e09366b2..f3c4009 100755
--- a/tools/json_schema_compiler/compiler.py
+++ b/tools/json_schema_compiler/compiler.py
@@ -57,7 +57,7 @@ def GenerateSchema(generator_name,
api_def = json_schema.DeleteNodes(api_def, 'nocompile')
api_defs.extend(api_def)
- api_model = Model()
+ api_model = Model(allow_inline_enums=False)
# For single-schema compilation make sure that the first (i.e. only) schema
# is the default one.