OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef {{"_".join(config.protocol.namespace)}}_Forward_h | 5 #ifndef {{"_".join(config.protocol.namespace)}}_Forward_h |
6 #define {{"_".join(config.protocol.namespace)}}_Forward_h | 6 #define {{"_".join(config.protocol.namespace)}}_Forward_h |
7 | 7 |
8 {% if config.lib.export_header %} | 8 {% if config.lib.export_header %} |
9 #include {{format_include(config.lib.export_header)}} | 9 #include {{format_include(config.lib.export_header)}} |
10 {% endif %} | 10 {% endif %} |
11 #include {{format_include(config.lib.platform_header)}} | 11 #include {{format_include(config.lib.platform_header)}} |
12 #include {{format_include(config.lib.string_header)}} | 12 #include {{format_include(config.lib.string_header)}} |
13 | 13 |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 {% for namespace in config.protocol.namespace %} | 16 {% for namespace in config.protocol.namespace %} |
17 namespace {{namespace}} { | 17 namespace {{namespace}} { |
18 {% endfor %} | 18 {% endfor %} |
19 | 19 |
20 template<typename T> class Array; | 20 template<typename T> class Array; |
21 class DictionaryValue; | 21 class DictionaryValue; |
22 class DispatchResponse; | 22 class DispatchResponse; |
23 using ErrorString = String; | |
24 class ErrorSupport; | 23 class ErrorSupport; |
25 class FundamentalValue; | 24 class FundamentalValue; |
26 class ListValue; | 25 class ListValue; |
27 template<typename T> class Maybe; | 26 template<typename T> class Maybe; |
28 class Object; | 27 class Object; |
29 using Response = DispatchResponse; | 28 using Response = DispatchResponse; |
30 class SerializedValue; | 29 class SerializedValue; |
31 class StringValue; | 30 class StringValue; |
32 class UberDispatcher; | 31 class UberDispatcher; |
33 class Value; | 32 class Value; |
34 | 33 |
35 {% for namespace in config.protocol.namespace %} | 34 {% for namespace in config.protocol.namespace %} |
36 } // namespace {{namespace}} | 35 } // namespace {{namespace}} |
37 {% endfor %} | 36 {% endfor %} |
38 | 37 |
39 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h) | 38 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h) |
OLD | NEW |