| Index: third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template
|
| diff --git a/third_party/WebKit/Source/core/inspector/InstrumentingAgents_h.template b/third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template
|
| similarity index 76%
|
| rename from third_party/WebKit/Source/core/inspector/InstrumentingAgents_h.template
|
| rename to third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template
|
| index 1a90db1c1117188c5a2c7f80722acfed967259df..ea6ce97bc45672d980987c18e389bdc49b066115 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InstrumentingAgents_h.template
|
| +++ b/third_party/WebKit/Source/platform/instrumentation/InstrumentingAgents_h.template
|
| @@ -4,11 +4,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef InstrumentingAgents_h
|
| -#define InstrumentingAgents_h
|
| +{% set agents_class = name + "Agents" %}
|
| +
|
| +#ifndef {{agents_class}}_h
|
| +#define {{agents_class}}_h
|
|
|
| -#include "core/CoreExport.h"
|
| #include "platform/heap/HeapAllocator.h"
|
| +{% for define in defines %}
|
| +{{define}}
|
| +{% endfor %}
|
|
|
| namespace blink {
|
|
|
| @@ -16,11 +20,11 @@ namespace blink {
|
| class {{ agent | agent_name_to_class }};
|
| {% endfor %}
|
|
|
| -class CORE_EXPORT InstrumentingAgents : public GarbageCollected<InstrumentingAgents> {
|
| - WTF_MAKE_NONCOPYABLE(InstrumentingAgents);
|
| +class PROBE_EXPORT {{agents_class}} : public GarbageCollected<{{agents_class}}> {
|
| + WTF_MAKE_NONCOPYABLE({{agents_class}});
|
|
|
| public:
|
| - InstrumentingAgents();
|
| + {{agents_class}}();
|
| DECLARE_TRACE();
|
|
|
| {% for agent in agents %}
|
| @@ -43,4 +47,4 @@ class CORE_EXPORT InstrumentingAgents : public GarbageCollected<InstrumentingAge
|
|
|
| } // namespace blink
|
|
|
| -#endif // !defined(InstrumentingAgents_h)
|
| +#endif // !defined({{agents_class}}_h)
|
|
|