// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_NETWORK_THROTTLING_THROTTLING_UPLOAD_DATA_STREAM_H_ #define SERVICES_NETWORK_THROTTLING_THROTTLING_UPLOAD_DATA_STREAM_H_ #include <stdint.h> #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "net/base/upload_data_stream.h" #include "services/network/throttling/throttling_network_interceptor.h" namespace network { class ThrottlingNetworkInterceptor; // ThrottlingUploadData is a wrapper for upload data stream, which proxies // methods and throttles after the original method succeeds. class ThrottlingUploadDataStream : public net::UploadDataStream { … }; } // namespace network #endif // SERVICES_NETWORK_THROTTLING_THROTTLING_UPLOAD_DATA_STREAM_H_