| Index: headless/lib/browser/devtools_api/domain_types_forward_declaration_h.template
|
| diff --git a/headless/lib/browser/devtools_api/domain_types_forward_declaration_h.template b/headless/lib/browser/devtools_api/domain_types_forward_declaration_h.template
|
| deleted file mode 100644
|
| index 4bb223b04abf13c63046ff083b5f9678c4289a4d..0000000000000000000000000000000000000000
|
| --- a/headless/lib/browser/devtools_api/domain_types_forward_declaration_h.template
|
| +++ /dev/null
|
| @@ -1,44 +0,0 @@
|
| -// This file is generated
|
| -
|
| -// Copyright (c) 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.
|
| -
|
| -#ifndef HEADLESS_PUBLIC_DEVTOOLS_INTERNAL_TYPES_FORWARD_DECLARATION_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
| -#define HEADLESS_PUBLIC_DEVTOOLS_INTERNAL_TYPES_FORWARD_DECLARATION_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
| -
|
| -#include "base/optional.h"
|
| -#include "base/values.h"
|
| -#include "headless/public/headless_export.h"
|
| -#include "headless/public/util/error_reporter.h"
|
| -
|
| -#include "base/memory/ptr_util.h"
|
| -
|
| -namespace headless {
|
| -
|
| -namespace {{domain.domain | camelcase_to_hacker_style}} {
|
| -{% for type in domain.types %}
|
| - {% if type.type == "object" %}
|
| - {% if "properties" in type %}
|
| -class {{type.id}};
|
| - {% else %}
|
| -using {{type.id}} = base::Value;
|
| - {% endif %}
|
| - {% endif %}
|
| -{% endfor %}
|
| -
|
| -{% for type in domain.types %}
|
| - {% if "enum" in type %}
|
| -enum class {{type.id}} {
|
| - {% for literal in type.enum %}
|
| - {{ literal | sanitize_literal | dash_to_camelcase | camelcase_to_hacker_style | upper }}{{',' if not loop.last}}
|
| - {% endfor %}
|
| -};
|
| -
|
| - {% endif %}
|
| -{% endfor %}
|
| -} // namespace {{domain.domain | camelcase_to_hacker_style}}
|
| -
|
| -} // namespace headless
|
| -
|
| -#endif // HEADLESS_PUBLIC_DEVTOOLS_INTERNAL_TYPES_FORWARD_DECLARATION_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
|
|