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

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

Issue 2473073003: [headless] Refactor headless devtools client API. (Closed)
Patch Set: Address nits Created 4 years, 1 month 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
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/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 10
11 namespace headless { 11 namespace headless {
12 12
13 namespace {{domain.domain | camelcase_to_hacker_style}} { 13 namespace {{domain.domain | camelcase_to_hacker_style}} {
14 14
15 ExperimentalDomain* Domain::GetExperimental() { 15 ExperimentalDomain* Domain::GetExperimental() {
16 return static_cast<ExperimentalDomain*>(this); 16 return static_cast<ExperimentalDomain*>(this);
17 } 17 }
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 } 141 }
142 142
143 void ExperimentalDomain::RemoveObserver(ExperimentalObserver* observer) { 143 void ExperimentalDomain::RemoveObserver(ExperimentalObserver* observer) {
144 observers_.RemoveObserver(observer); 144 observers_.RemoveObserver(observer);
145 } 145 }
146 {% endif %} 146 {% endif %}
147 147
148 } // namespace {{domain.domain | camelcase_to_hacker_style}} 148 } // namespace {{domain.domain | camelcase_to_hacker_style}}
149 149
150 } // namespace headless 150 } // namespace headless
OLDNEW
« no previous file with comments | « headless/lib/browser/devtools_api/deprecated_types_h.template ('k') | headless/lib/browser/devtools_api/domain_h.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698