| 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 2d146a70b52e34dec2ab6204c39660ee19507539..69d3b3436c0138aaeb95d428fc46698c3545c9e6 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"
|
|
|
| @@ -152,4 +154,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_
|
|
|