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

Unified Diff: tools/json_schema_compiler/schema_util.py

Issue 12041098: Initial commit of the Dart Chrome Extension APIs generators (Closed) Base URL: http://git.chromium.org/chromium/src.git@file_path_bugfix
Patch Set: Cleaned up dart_generator, and added wrappers for callbacks Created 7 years, 11 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/schema_util.py
diff --git a/tools/json_schema_compiler/schema_util.py b/tools/json_schema_compiler/schema_util.py
index 7ce399e8ed31e0a0a75a76d82176a39a9a00e6a1..5a1169f9e2c262ae5a18e455b5b7ae32114ca144 100644
--- a/tools/json_schema_compiler/schema_util.py
+++ b/tools/json_schema_compiler/schema_util.py
@@ -12,6 +12,9 @@ def CapitalizeFirstLetter(value):
def GetNamespace(ref):
return SplitNamespace(ref)[0]
+def GetBaseNamespace(ref):
+ return SplitNamespace(ref)[-1]
not at google - send to devlin 2013/01/31 02:08:48 I'm confused, what does "base namespace" mean? Isn
sashab 2013/01/31 04:41:40 The case I was thinking of was: "app.window.AppWi
+
def StripNamespace(ref):
return SplitNamespace(ref)[1]
« tools/json_schema_compiler/dart_generator.py ('K') | « tools/json_schema_compiler/model.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698