blob: 4bf8c9f96d2da2c693780818f319834d54e7823e [file] [log] [blame]
// Copyright 2013 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 SERVICES_DATA_DECODER_JSON_PARSER_IMPL_H_
#define SERVICES_DATA_DECODER_JSON_PARSER_IMPL_H_
#include <string>
#include "base/macros.h"
#include "services/data_decoder/public/mojom/json_parser.mojom.h"
namespace data_decoder {
class JsonParserImpl : public mojom::JsonParser {
public:
JsonParserImpl();
JsonParserImpl(const JsonParserImpl&) = delete;
JsonParserImpl& operator=(const JsonParserImpl&) = delete;
~JsonParserImpl() override;
private:
// mojom::JsonParser implementation.
void Parse(const std::string& json, ParseCallback callback) override;
};
} // namespace data_decoder
#endif // SERVICES_DATA_DECODER_JSON_PARSER_IMPL_H_