| 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)}} | |
| 12 #include {{format_include(config.lib.string_header)}} | 11 #include {{format_include(config.lib.string_header)}} |
| 13 | 12 |
| 14 #include <vector> | 13 #include <vector> |
| 15 | 14 |
| 16 {% for namespace in config.protocol.namespace %} | 15 {% for namespace in config.protocol.namespace %} |
| 17 namespace {{namespace}} { | 16 namespace {{namespace}} { |
| 18 {% endfor %} | 17 {% endfor %} |
| 19 | 18 |
| 20 template<typename T> class Array; | 19 template<typename T> class Array; |
| 21 class DictionaryValue; | 20 class DictionaryValue; |
| 22 class DispatchResponse; | 21 class DispatchResponse; |
| 23 class ErrorSupport; | 22 class ErrorSupport; |
| 24 class FundamentalValue; | 23 class FundamentalValue; |
| 25 class ListValue; | 24 class ListValue; |
| 26 template<typename T> class Maybe; | 25 template<typename T> class Maybe; |
| 27 class Object; | 26 class Object; |
| 28 using Response = DispatchResponse; | 27 using Response = DispatchResponse; |
| 29 class SerializedValue; | 28 class SerializedValue; |
| 30 class StringValue; | 29 class StringValue; |
| 31 class UberDispatcher; | 30 class UberDispatcher; |
| 32 class Value; | 31 class Value; |
| 33 | 32 |
| 34 {% for namespace in config.protocol.namespace %} | 33 {% for namespace in config.protocol.namespace %} |
| 35 } // namespace {{namespace}} | 34 } // namespace {{namespace}} |
| 36 {% endfor %} | 35 {% endfor %} |
| 37 | 36 |
| 38 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h) | 37 #endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h) |
| OLD | NEW |