| Index: third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template
|
| diff --git a/third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template b/third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template
|
| deleted file mode 100644
|
| index ea6ce97bc45672d980987c18e389bdc49b066115..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template
|
| +++ /dev/null
|
| @@ -1,50 +0,0 @@
|
| -// This file is generated from {{input_file}}
|
| -
|
| -// 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.
|
| -
|
| -{% set agents_class = name + "Agents" %}
|
| -
|
| -#ifndef {{agents_class}}_h
|
| -#define {{agents_class}}_h
|
| -
|
| -#include "platform/heap/HeapAllocator.h"
|
| -{% for define in defines %}
|
| -{{define}}
|
| -{% endfor %}
|
| -
|
| -namespace blink {
|
| -
|
| -{% for agent in agents %}
|
| -class {{ agent | agent_name_to_class }};
|
| -{% endfor %}
|
| -
|
| -class PROBE_EXPORT {{agents_class}} : public GarbageCollected<{{agents_class}}> {
|
| - WTF_MAKE_NONCOPYABLE({{agents_class}});
|
| -
|
| - public:
|
| - {{agents_class}}();
|
| - DECLARE_TRACE();
|
| -
|
| -{% for agent in agents %}
|
| -{% set class_name = agent | agent_name_to_class %}
|
| -{% set getter_name = class_name | to_lower_case %}
|
| - bool has{{class_name}}s() const { return m_has{{class_name}}s; }
|
| - const HeapHashSet<Member<{{class_name}}>>& {{getter_name}}s() const { return m_{{getter_name}}s; }
|
| - void add{{class_name}}({{class_name}}* agent);
|
| - void remove{{class_name}}({{class_name}}* agent);
|
| -
|
| -{% endfor %}
|
| - private:
|
| -{% for agent in agents %}
|
| -{% set class_name = agent | agent_name_to_class %}
|
| -{% set getter_name = class_name | to_lower_case %}
|
| - HeapHashSet<Member<{{class_name}}>> m_{{getter_name}}s;
|
| - bool m_has{{class_name}}s = false;
|
| -{% endfor %}
|
| -};
|
| -
|
| -} // namespace blink
|
| -
|
| -#endif // !defined({{agents_class}}_h)
|
|
|