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

Unified Diff: tools/json_schema_compiler/code.py

Issue 12181005: generated_api.h should have its body generated into generated_api.cc (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master Created 7 years, 10 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/code.py
diff --git a/tools/json_schema_compiler/code.py b/tools/json_schema_compiler/code.py
index a0a2a5fab6dd23af92b6aa08029a44a9659d3e10..36e37ac8268351ef7218dc8072dc9021b1aeb28c 100644
--- a/tools/json_schema_compiler/code.py
+++ b/tools/json_schema_compiler/code.py
@@ -133,6 +133,9 @@ class Code(object):
"""
return '\n'.join([l.value for l in self._code])
+ def AdjustIndentLevel(self, adjustment):
not at google - send to devlin 2013/02/10 16:03:44 please revert this change
Joe Thomas 2013/02/11 22:58:23 Done.
+ self._indent_level += adjustment
+
class Line(object):
"""A line of code.
"""

Powered by Google App Engine
This is Rietveld 408576698