Forward_h.template 1.07 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef {{"_".join(config.protocol.namespace)}}_Forward_h
#define {{"_".join(config.protocol.namespace)}}_Forward_h

{% if config.lib.export_header %}
#include {{format_include(config.lib.export_header)}}
{% endif %}
#include {{format_include(config.lib.string_header)}}

13
#include <cstddef>
14
#include <memory>
15
#include <vector>
16 17
#include <unordered_map>
#include <unordered_set>
18 19 20 21 22 23 24

{% for namespace in config.protocol.namespace %}
namespace {{namespace}} {
{% endfor %}

template<typename T> class Array;
class DictionaryValue;
25
class DispatchResponse;
26 27 28 29 30
class ErrorSupport;
class FundamentalValue;
class ListValue;
template<typename T> class Maybe;
class Object;
31
using Response = DispatchResponse;
32 33 34 35 36 37 38 39 40 41
class SerializedValue;
class StringValue;
class UberDispatcher;
class Value;

{% for namespace in config.protocol.namespace %}
} // namespace {{namespace}}
{% endfor %}

#endif // !defined({{"_".join(config.protocol.namespace)}}_Forward_h)