| Index: headless/lib/browser/devtools_api/domain_h.template
|
| diff --git a/headless/lib/browser/domain_h.template b/headless/lib/browser/devtools_api/domain_h.template
|
| similarity index 92%
|
| rename from headless/lib/browser/domain_h.template
|
| rename to headless/lib/browser/devtools_api/domain_h.template
|
| index 73ee9fefda5c4a1fddb146a385f023b622da36de..73110412f43c8b9fb51fd324caabf989df3d6afd 100644
|
| --- a/headless/lib/browser/domain_h.template
|
| +++ b/headless/lib/browser/devtools_api/domain_h.template
|
| @@ -4,13 +4,15 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef HEADLESS_PUBLIC_DOMAINS_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
| -#define HEADLESS_PUBLIC_DOMAINS_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
| +#ifndef HEADLESS_PUBLIC_DEVTOOLS_DOMAINS_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
| +#define HEADLESS_PUBLIC_DEVTOOLS_DOMAINS_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
|
|
| #include "base/callback.h"
|
| #include "base/observer_list.h"
|
| #include "base/values.h"
|
| -#include "headless/public/domains/types.h"
|
| +{% for domain_name in domain.dependencies %}
|
| +#include "headless/public/devtools/domains/types_{{domain_name | camelcase_to_hacker_style}}.h"
|
| +{% endfor %}
|
| #include "headless/public/headless_export.h"
|
| #include "headless/public/internal/message_dispatcher.h"
|
|
|
| @@ -161,4 +163,4 @@ class ExperimentalDomain : public Domain {
|
| } // namespace {{domain.domain | camelcase_to_hacker_style}}
|
| } // namespace headless
|
|
|
| -#endif // HEADLESS_PUBLIC_DOMAINS_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
| +#endif // HEADLESS_PUBLIC_DEVTOOLS_DOMAINS_{{domain.domain | camelcase_to_hacker_style | upper}}_H_
|
|
|