• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This file is generated by Parser_h.template.
2
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
5// found in the LICENSE file.
6
7#ifndef {{"_".join(config.protocol.namespace)}}_Parser_h
8#define {{"_".join(config.protocol.namespace)}}_Parser_h
9
10//#include "Forward.h"
11//#include "Values.h"
12
13{% for namespace in config.protocol.namespace %}
14namespace {{namespace}} {
15{% endfor %}
16
17{{config.lib.export_macro}} std::unique_ptr<Value> parseJSONCharacters(const uint8_t*, unsigned);
18{{config.lib.export_macro}} std::unique_ptr<Value> parseJSONCharacters(const uint16_t*, unsigned);
19
20{% for namespace in config.protocol.namespace %}
21} // namespace {{namespace}}
22{% endfor %}
23
24#endif // !defined({{"_".join(config.protocol.namespace)}}_Parser_h)
25