OLD | NEW |
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 Loading... |
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 |
OLD | NEW |