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

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

Issue 2473073003: [headless] Refactor headless devtools client API. (Closed)
Patch Set: Deleted random files 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 136
137 void ExperimentalDomain::RemoveObserver(ExperimentalObserver* observer) { 137 void ExperimentalDomain::RemoveObserver(ExperimentalObserver* observer) {
138 observers_.RemoveObserver(observer); 138 observers_.RemoveObserver(observer);
139 } 139 }
140 {% endif %} 140 {% endif %}
141 141
142 } // namespace {{domain.domain | camelcase_to_hacker_style}} 142 } // namespace {{domain.domain | camelcase_to_hacker_style}}
143 143
144 } // namespace headless 144 } // namespace headless
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698