chromium/services/network/slop_bucket.h

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

// SlopBucket is a mechanism to store parts of response bodies in temporary
// buffers in the network service when the mojo data pipe is full.

#ifndef SERVICES_NETWORK_SLOP_BUCKET_H_
#define SERVICES_NETWORK_SLOP_BUCKET_H_

#include <stddef.h>

#include <memory>
#include <optional>

#include "base/containers/queue.h"
#include "base/feature_list.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "base/sequence_checker.h"
#include "base/types/pass_key.h"

namespace net {
class URLRequest;
}

network  // namespace network

#endif  // SERVICES_NETWORK_SLOP_BUCKET_H_