#include "third_party/blink/renderer/core/fetch/bytes_uploader.h"
#include "base/containers/span.h"
#include "base/test/mock_callback.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "net/base/net_errors.h"
#include "services/network/public/mojom/chunked_data_pipe_getter.mojom-blink.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
#include "third_party/blink/renderer/platform/scheduler/public/thread.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/testing/unit_test_helpers.h"
ChunkedDataPipeGetter;
_;
InSequence;
Invoke;
NiceMock;
Return;
StrictMock;
namespace blink {
Checkpoint;
class MockBytesConsumer : public BytesConsumer { … };
class BytesUploaderTest : public ::testing::Test { … };
TEST_F(BytesUploaderTest, Create) { … }
TEST_F(BytesUploaderTest, ReadEmpty) { … }
TEST_F(BytesUploaderTest, ReadSmall) { … }
TEST_F(BytesUploaderTest, ReadOverPipeCapacity) { … }
TEST_F(BytesUploaderTest, StartReadingWithoutGetSize) { … }
}