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

Unified Diff: tools/json_schema_compiler/cpp_namespace_environment.py

Issue 487533005: Add support for references in different paths in apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « tools/json_schema_compiler/cpp_generator.py ('k') | tools/json_schema_compiler/cpp_type_generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/cpp_namespace_environment.py
diff --git a/components/enhanced_bookmarks/proto/BUILD.gn b/tools/json_schema_compiler/cpp_namespace_environment.py
similarity index 56%
copy from components/enhanced_bookmarks/proto/BUILD.gn
copy to tools/json_schema_compiler/cpp_namespace_environment.py
index ddea52b709202ca815497173e84b2760e72bfbad..20e77bb6893c99f338342267f2a3ae465bb541ec 100644
--- a/components/enhanced_bookmarks/proto/BUILD.gn
+++ b/tools/json_schema_compiler/cpp_namespace_environment.py
@@ -2,10 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//third_party/protobuf/proto_library.gni")
-
-proto_library("proto") {
- sources = [
- "metadata.proto",
- ]
-}
+class CppNamespaceEnvironment(object):
+ def __init__(self, namespace_pattern):
+ self.namespace_pattern = namespace_pattern
« no previous file with comments | « tools/json_schema_compiler/cpp_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