chromium/components/speech/downstream_loader.h

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_SPEECH_DOWNSTREAM_LOADER_H_
#define COMPONENTS_SPEECH_DOWNSTREAM_LOADER_H_

#include <memory>
#include <string_view>

#include "base/functional/callback_forward.h"
#include "base/memory/raw_ptr.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/cpp/simple_url_loader.h"
#include "services/network/public/cpp/simple_url_loader_stream_consumer.h"

namespace speech {

class DownstreamLoaderClient;

// Streams response data from the server to the DownstreamLoaderClient.
class DownstreamLoader : public network::SimpleURLLoaderStreamConsumer {};

}  // namespace speech

#endif  // COMPONENTS_SPEECH_DOWNSTREAM_LOADER_H_