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

Side by Side Diff: tools/json_schema_compiler/cpp_generator.py

Issue 23549025: Clean up JSON Schema Compiler. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed enum test and added blank lines. Created 7 years, 3 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 unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from cc_generator import CCGenerator 5 from cc_generator import CCGenerator
6 from h_generator import HGenerator 6 from h_generator import HGenerator
7 7
8 class CppGenerator(object): 8 class CppGenerator(object):
9 def __init__(self, type_generator, cpp_namespace): 9 def __init__(self, type_generator, cpp_namespace):
10 self.h_generator = HGenerator(type_generator, cpp_namespace) 10 self.h_generator = HGenerator(type_generator, cpp_namespace)
11 self.cc_generator = CCGenerator(type_generator, cpp_namespace) 11 self.cc_generator = CCGenerator(type_generator, cpp_namespace)
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/cpp_bundle_generator.py ('k') | tools/json_schema_compiler/cpp_type_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698