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

Side by Side Diff: headless/lib/browser/devtools_api/domain_cc.template

Issue 2783983002: Cleanup headless templates and message_dispatcher.h. (Closed)
Patch Set: build fix Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | headless/lib/browser/devtools_api/domain_h.template » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file is generated 1 // This file is generated
2 2
3 // Copyright 2016 The Chromium Authors. All rights reserved. 3 // Copyright 2016 The Chromium Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style license that can be 4 // Use of this source code is governed by a BSD-style license that can be
5 // found in the LICENSE file. 5 // found in the LICENSE file.
6 6
7 #include "headless/public/devtools/domains/{{domain.domain | camelcase_to_hacker _style}}.h" 7 #include "headless/public/devtools/domains/{{domain.domain | camelcase_to_hacker _style}}.h"
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "headless/public/util/error_reporter.h"
10 11
11 namespace headless { 12 namespace headless {
12 13
13 namespace {{domain.domain | camelcase_to_hacker_style}} { 14 namespace {{domain.domain | camelcase_to_hacker_style}} {
14 15
15 ExperimentalDomain* Domain::GetExperimental() { 16 ExperimentalDomain* Domain::GetExperimental() {
16 return static_cast<ExperimentalDomain*>(this); 17 return static_cast<ExperimentalDomain*>(this);
17 } 18 }
18 19
19 {% if "events" in domain %} 20 {% if "events" in domain %}
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 } 147 }
147 148
148 void ExperimentalDomain::RemoveObserver(ExperimentalObserver* observer) { 149 void ExperimentalDomain::RemoveObserver(ExperimentalObserver* observer) {
149 observers_.RemoveObserver(observer); 150 observers_.RemoveObserver(observer);
150 } 151 }
151 {% endif %} 152 {% endif %}
152 153
153 } // namespace {{domain.domain | camelcase_to_hacker_style}} 154 } // namespace {{domain.domain | camelcase_to_hacker_style}}
154 155
155 } // namespace headless 156 } // namespace headless
OLDNEW
« no previous file with comments | « no previous file | headless/lib/browser/devtools_api/domain_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698