| 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 using ErrorString = String; | 23 using ErrorString = String; |
| 23 class ErrorSupport; | 24 class ErrorSupport; |
| 24 class FundamentalValue; | 25 class FundamentalValue; |
| 25 class ListValue; | 26 class ListValue; |
| 26 template<typename T> class Maybe; | 27 template<typename T> class Maybe; |
| 27 class Object; | 28 class Object; |
| 29 using Response = DispatchResponse; |
| 28 class SerializedValue; | 30 class SerializedValue; |
| 29 class StringValue; | 31 class StringValue; |
| 30 class UberDispatcher; | 32 class UberDispatcher; |
| 31 class Value; | 33 class Value; |
| 32 | 34 |
| 33 {% for namespace in config.protocol.namespace %} | 35 {% for namespace in config.protocol.namespace %} |
| 34 } // namespace {{namespace}} | 36 } // namespace {{namespace}} |
| 35 {% endfor %} | 37 {% endfor %} |
| 36 | 38 |
| 37 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h) | 39 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h) |
| OLD | NEW |