| Index: tools/json_schema_compiler/cpp_util.py
|
| ===================================================================
|
| --- tools/json_schema_compiler/cpp_util.py (revision 127187)
|
| +++ tools/json_schema_compiler/cpp_util.py (working copy)
|
| @@ -6,7 +6,6 @@
|
|
|
| from datetime import datetime
|
| from model import PropertyType
|
| -import os
|
|
|
| CHROMIUM_LICENSE = (
|
| """// Copyright (c) %d The Chromium Authors. All rights reserved.
|
| @@ -17,10 +16,6 @@
|
| // %s
|
| // DO NOT EDIT.
|
| """
|
| -GENERATED_BUNDLE_FILE_MESSAGE = """// GENERATED FROM THE API DEFINITIONS IN
|
| -// %s
|
| -// DO NOT EDIT.
|
| -"""
|
|
|
| def Classname(s):
|
| """Translates a namespace name or function name into something more
|
| @@ -72,11 +67,3 @@
|
| 'type': type_,
|
| 'name': param.unix_name,
|
| }
|
| -
|
| -def GenerateIfndefName(path, filename):
|
| - """Formats a path and filename as a #define name.
|
| -
|
| - e.g chrome/extensions/gen, file.h becomes CHROME_EXTENSIONS_GEN_FILE_H__.
|
| - """
|
| - return (('%s_%s_H__' % (path, filename))
|
| - .upper().replace(os.sep, '_').replace('/', '_'))
|
|
|