summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/cpp_namespace_environment.py
diff options
context:
space:
mode:
authorlfg <lfg@chromium.org>2014-08-28 20:56:28 -0700
committerCommit bot <commit-bot@chromium.org>2014-08-29 03:58:01 +0000
commit8a1bee36d9f609ab9a98ecf89bf1dfc0bb4762dc (patch)
tree98801b1699e47204b60186ec5619e1ba9a492157 /tools/json_schema_compiler/cpp_namespace_environment.py
parent792dcd9ba6050f1dce72f9a7e1961e0f0ceabc2c (diff)
downloadchromium_src-8a1bee36d9f609ab9a98ecf89bf1dfc0bb4762dc.zip
chromium_src-8a1bee36d9f609ab9a98ecf89bf1dfc0bb4762dc.tar.gz
chromium_src-8a1bee36d9f609ab9a98ecf89bf1dfc0bb4762dc.tar.bz2
- Add support for references in different paths in apis.
- Move ImageDetails from chrome to extensions. BUG=352290 Review URL: https://codereview.chromium.org/487533005 Cr-Commit-Position: refs/heads/master@{#292567}
Diffstat (limited to 'tools/json_schema_compiler/cpp_namespace_environment.py')
-rw-r--r--tools/json_schema_compiler/cpp_namespace_environment.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/json_schema_compiler/cpp_namespace_environment.py b/tools/json_schema_compiler/cpp_namespace_environment.py
new file mode 100644
index 0000000..20e77bb
--- /dev/null
+++ b/tools/json_schema_compiler/cpp_namespace_environment.py
@@ -0,0 +1,7 @@
+# Copyright 2014 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.
+
+class CppNamespaceEnvironment(object):
+ def __init__(self, namespace_pattern):
+ self.namespace_pattern = namespace_pattern