| Index: mojo/public/tools/bindings/generators/cpp_templates/module-shared.h.tmpl
|
| diff --git a/mojo/public/tools/bindings/generators/cpp_templates/module-shared.h.tmpl b/mojo/public/tools/bindings/generators/cpp_templates/module-shared.h.tmpl
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e21ec738dbc21336f1dceff0c1aeb2fb0bfc43c0
|
| --- /dev/null
|
| +++ b/mojo/public/tools/bindings/generators/cpp_templates/module-shared.h.tmpl
|
| @@ -0,0 +1,15 @@
|
| +// Copyright 2016 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.
|
| +
|
| +{%- set header_guard = "%s_SHARED_H_"|format(
|
| + module.path|upper|replace("/","_")|replace(".","_")|
|
| + replace("-", "_")) %}
|
| +
|
| +#ifndef {{header_guard}}
|
| +#define {{header_guard}}
|
| +
|
| +// TODO(yzshen): Move code here.
|
| +
|
| +#endif // {{header_guard}}
|
| +
|
|
|