| // Copyright 2017 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. |
| |
| // This is a generated file. Please see the "service_manifest" template in |
| // src/services/service_manager/public/service_manifest.gni for more details. |
| |
| {%- set header_guard = "%s_H_"|format(path)|upper|replace("/", "_")| |
| replace(".", "_")|replace("-", "_") %} |
| |
| #ifndef {{header_guard}} |
| #define {{header_guard}} |
| |
| #include <vector> |
| |
| #include "services/service_manager/public/cpp/manifest.h" |
| |
| {% for namespace in namespaces %} |
| namespace {{namespace}} { |
| {%- endfor %} |
| |
| {% if root_manifest -%} |
| const service_manager::Manifest& {{function_name}}(); |
| {% else -%} |
| const std::vector<service_manager::Manifest>& {{function_name}}(); |
| {%- endif %} |
| |
| {% for namespace in namespaces|reverse %} |
| } // namespace {{namespace}} |
| {%- endfor %} |
| |
| #endif // {{header_guard}} |