Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: headless/lib/browser/devtools_api/domain_types_h.template

Issue 2783983002: Cleanup headless templates and message_dispatcher.h. (Closed)
Patch Set: build fix Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: headless/lib/browser/devtools_api/domain_types_h.template
diff --git a/headless/lib/browser/devtools_api/domain_types_h.template b/headless/lib/browser/devtools_api/domain_types_h.template
index b2e695ef6b9c99286e2e2fb24702de8fe8382a81..01cd254040be10d6ad13ded9ae9465ba9eeff3c0 100644
--- a/headless/lib/browser/devtools_api/domain_types_h.template
+++ b/headless/lib/browser/devtools_api/domain_types_h.template
@@ -1,6 +1,6 @@
// This file is generated
-// Copyright (c) 2016 The Chromium Authors. All rights reserved.
+// Copyright 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.
@@ -13,12 +13,11 @@
#include "headless/public/devtools/internal/types_forward_declarations_{{domain_name | camelcase_to_hacker_style}}.h"
{% endfor %}
#include "headless/public/headless_export.h"
-#include "headless/public/util/error_reporter.h"
-
-#include "base/memory/ptr_util.h"
namespace headless {
+class ErrorReporter;
+
namespace {{domain.domain | camelcase_to_hacker_style}} {
{% for type in domain.types %}
{% if not (type.type == "object") or not ("properties" in type) %}{% continue %}{% endif %}

Powered by Google App Engine
This is Rietveld 408576698