#include "net/base/data_url.h"
#include "base/memory/ref_counted.h"
#include "base/test/scoped_feature_list.h"
#include "net/base/features.h"
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
#include "net/http/http_version.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace net {
namespace {
struct ParseTestData { … };
}
class DataURLTest : public testing::Test,
public ::testing::WithParamInterface<bool> { … };
INSTANTIATE_TEST_SUITE_P(…);
TEST_P(DataURLTest, Parse) { … }
TEST_P(DataURLTest, BuildResponseSimple) { … }
TEST_P(DataURLTest, BuildResponseHead) { … }
TEST_P(DataURLTest, BuildResponseInput) { … }
TEST_P(DataURLTest, BuildResponseInvalidMimeType) { … }
TEST_P(DataURLTest, InvalidCharset) { … }
TEST_P(DataURLTest, Image) { … }
}