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

Unified Diff: tools/json_schema_compiler/cpp_generator.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: Small style & structure fixes to dart_generator, and similar. 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/cpp_generator.py
diff --git a/tools/json_schema_compiler/cpp_generator.py b/tools/json_schema_compiler/cpp_generator.py
new file mode 100644
index 0000000000000000000000000000000000000000..b5442a55fbcc4f571c8c9140541195a61fe9aec1
--- /dev/null
+++ b/tools/json_schema_compiler/cpp_generator.py
@@ -0,0 +1,11 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import cc_generator
+import h_generator
not at google - send to devlin 2013/02/02 00:45:48 yeah, from cc_generator import CCGenerator etc.
sashab 2013/02/04 05:09:27 Done.
+
+class CppGenerator(object):
+ def __init__(self, type_generator):
+ self.h_generator = h_generator.HGenerator(type_generator)
+ self.cc_generator = cc_generator.CCGenerator(type_generator)

Powered by Google App Engine
This is Rietveld 408576698