| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This is a generated file. Please see the "catalog_cpp_source" template in |
| 6 // src/services/catalog/public/tools/catalog.gni for more details. |
| 7 {%- set header_guard = "%s_H_"|format(path)|upper|replace("/", "_")| |
| 8 replace(".", "_")|replace("-", "_") %} |
| 9 |
| 10 #ifndef {{header_guard}} |
| 11 #define {{header_guard}} |
| 12 |
| 13 #include <memory> |
| 14 |
| 15 namespace base { |
| 16 class Value; |
| 17 } |
| 18 |
| 19 {% for namespace in namespaces %} |
| 20 namespace {{namespace}} { |
| 21 {%- endfor %} |
| 22 |
| 23 std::unique_ptr<base::Value> {{function_name}}(); |
| 24 |
| 25 {% for namespace in namespaces|reverse %} |
| 26 } // namespace {{namespace}} |
| 27 {%- endfor %} |
| 28 |
| 29 #endif // {{header_guard}} |
| OLD | NEW |