#include "services/network/public/cpp/empty_url_loader_client.h"
#include <memory>
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "mojo/public/cpp/system/data_pipe_utils.h"
#include "services/network/public/mojom/url_response_head.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace network {
namespace {
void CheckBodyIsDrained(const std::string& body) { … }
}
TEST(EmptyURLLoaderClientTest, WithoutBody) { … }
TEST(EmptyURLLoaderClientTest, DrainBody) { … }
TEST(EmptyURLLoaderClientTest, DrainEmptyBody) { … }
}