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

Unified Diff: tools/json_schema_compiler/idl_schema.py

Issue 10367002: Make all extension api types fully qualified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tests pass, docs are updated, it's g2g I think Created 8 years, 7 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/idl_schema.py
diff --git a/tools/json_schema_compiler/idl_schema.py b/tools/json_schema_compiler/idl_schema.py
index 3a7e6e46ab39c0c6e421f6bf8b4d8e99cc64e73c..1126241f54eb425a10bf5cf1ff7306251cbf9735 100644
--- a/tools/json_schema_compiler/idl_schema.py
+++ b/tools/json_schema_compiler/idl_schema.py
@@ -5,8 +5,9 @@
import json
import os.path
-import sys
import re
+import schema_util
asargent_no_longer_on_chrome 2012/05/09 18:37:23 nit: I've been trying to move all the code in this
bryeung 2012/05/09 19:12:00 Done.
+import sys
# This file is a peer to json_schema.py. Each of these files understands a
# certain format describing APIs (either JSON or IDL), reads files written
@@ -254,6 +255,7 @@ class IDLSchema(object):
continue
else:
sys.exit("Did not process %s %s" % (node.cls, node))
+ schema_util.PrefixSchemasWithNamespace(namespaces)
return namespaces
def Load(filename):

Powered by Google App Engine
This is Rietveld 408576698